TEL AVIV—A bomb exploded at the back of a bus and injured 21 people as it traveled through southeast Jerusalem on Monday, Israeli police said.

“We confirm that a bomb went off. We are still examining all possibilities,” said police spokesman Micky Rosenfeld. Police are investigating how the bomb was planted on the bus.

Few passengers were...