The attack happened Tuesday night at Niles North High School in Skokie, police said.
Someone stabbed the guard with a sharp object during a disturbance after a basketball game, police said.
The guard was not seriously hurt, and no students were hurt.
No arrests have been made as Skokie police continue to investigate.