Other students watched on and filmed the incident.
In a letter to the school community, Taylor said the school was “working with” students who filmed and/or encouraged the attack.
She thanked parents and caregivers who had sent wishes of support to the victim of the assault and her family.
“She has returned to school, is happy to be back, is surrounded by good and caring people, and is settling in well.”
Upper Hutt College was a safe school, she said.
She asked parents to talk to their children about the sharing of harmful images online, and to encourage young people experiencing harm at school to speak up.
The school launched an anonymous online reporting system this week and is already following up on a small number of initial reports already received.