A gas canister for a cassette stove burner exploded during a summer festival at Kameido Tenjin Shrine in Koto Ward, Tokyo, on Saturday evening, injuring four people, police and firefighters said.