Media reports suggested that the assailant opened fire on Shah Cheragh Shrine’s guards after he failed to force his way into the holy place.
A deputy provincial governor said the gunman was arrested.
The death toll could rise as local officials said two of those injured were in critical condition.
On October 26, 2022, a Daesh-affiliated gunman barged into the shrine, killing 15 pilgrims before he was shot and injured by security forces. The terrorist later died of his wounds in hospital.