The victims, students of a primary government school, were taken to the Sadar hospital where their condition was stated to be out of danger, the sources said.
An investigation has been ordered into the incident, they said.
District Magistrate Arvind Kumar Singh visited the school and the hospital to enquire about the incident, they added.