Taliban authorities in Afghanistan cracked down on a protest over women's dress code violations on Tuesday, with multiple witnesses reporting shots being fired.

Between 100 and 150 Afghan men had reportedly gathered in the western city of Herat to show their solidarity with more than a dozen women who had been arrested last week for going out in public without a full chador cloak or face-covering burqa.

But security forces dispersed the protest using "sticks, whips and firearms," one witness told the AFP news agency, adding: "They even fired shots into the air."

Another witness also reported seeing shots being fired into the air, saying: "Some people were injured. I saw blood on the road."

Whether the injuries were caused by the shots or by other use of force was unclear, as was the precise number of wounded.