SHANGHAI—A minivan caught fire and plowed into pedestrians in central Shanghai during Friday morning’s rush hour, injuring at least 18 people, in what police have preliminarily classified as an accident.

In a statement, police said the minivan veered out of control off Nanjing West Road onto a sidewalk near People’s Square just before 9 a.m.