13 of them were discharged after being administered first aid at a local hospital.
Hundreds of people were protesting against the recent civilian killings in the valley at Vehil village this afternoon when some "miscreants" among them started pelting stones at security forces, a police official said.
Security forces retaliated by firing tear smoke shells and pellet guns, the official said, adding 17 people received pellet injuries.
"Four of the injured have been referred to hospitals in Srinagar for specialised treatment," he added.