It was also reported that the train line between Wurzburg-Heidingsfeld and Ochsenfurt has been closed since the attack was reported.
According to a report by BBC, the incident happened in Heidingsfeld, a part of the city of Wurzburg in southern Germany.
While it was further reported that police operation including a helicopter is under way, a German media alleged that a suspect appeared to have been shot in the attack.
It was also reported that the train line between Wurzburg-Heidingsfeld and Ochsenfurt has been closed since the attack occured.
DPA reported that the police claimed some of the victims' injuries were life-threatening but no response was given as regards the shooting claims.
The man who attacked passengers with an axe on a train in the German state of Bavaria late on Monday was later shot dead, broadcasters BR and NTV reported.
According to a report by Reuters, a police spokesman declined to confirm the report, saying a police operation was still ongoing.
The attack is coming barely six days after a man driving a lorry crashed into a crowd while celebrating in Nice, France.