Three teenage boys, including a 13-year-old, have been arrested after allegedly using machetes in the attack.