Two boys aged ten and 11 are being questioned after two other youngsters were seriously injured in an attack.