The boys identified as Shahid, 12, and Eiklaq, 11, were injured in Damhal Hanjipora village. "Both were shifted to hospital where doctors said their condition was stable," sources said.
Security forces have advised locals not to visit sites of encounters between the separatist militants and the government forces unless they are declared safe by the authorities.
There have been instances of civilian casualties after these warnings were overlooked.
It was not clear whether or not Wednesday's explosion occurred at some previous encounter site or away from it.
(This story has not been edited by Business Standard staff and is auto-generated from a syndicated feed.)