A student was attacked by a group who stormed a residence at Nelson Mandela University looking for a man accused of sexual harassment.