A suicide bomber detonated explosives Monday outside a Shiite mosque in central Baghdad, killing at least 11 people in the second such attack in the capital in 24 hours, officials said.