Twenty-five passengers were injured after an explosion hit a commuter train in Taipei on Thursday night, said the city’s fire department early Friday.