KABUL, Afghanistan—A bomb blast inside a mosque in eastern Afghanistan that was being used as a voter registration center killed at least 12 people and wounded 33, officials said.

Habib Shah Ansari, the provincial head of public health, confirmed the toll from the attack, which took place in the city of Khost, the capital of the province of the same name.

No...