The attack, which was followed by gunfire directed at the school, occurred during a prize distribution ceremony, Dawn News reported.
There were reports the principal, Abdur Rasheed, had received threats prior to the attack.
Some of the injured children were reported in critical condition.
Wisconsin business offering 'therapeutic cuddling' forced to close
Exploding whale video goes viral on Internet