SHANGHAI—At least five people were hurt Sunday in an attack in front of check-in counters at Shanghai’s main international airport, which police blamed on a man who tossed an explosive made from a beer bottle.

Police said that after the man threw the bottle—just steps away from a check-in counter at Shanghai Pudong International Airport’s Terminal 2—about 2.30 p.m. local time, he took out a knife and cut his throat. He was taken to a hospital and is in critical condition.

...