Officials say this happened at J.H.S. 123 in the Soundview section.
The Department of Education says some kind of device went off in the cafeteria and they are working with the NYPD to investigate what happened.
The students were taken to the hospital for difficulty breathing, but their injuries are not life-threatening.
Officials say three students refused medical attention.
----------
* More Bronx news
* Send us a news tip
* Download the abc7NY app for breaking news alerts
* Follow us on YouTube