At least three people have been killed and 15 others were injured after a man went on a knife rampage inside a Shanghai Walmart on Monday night.

Police in the Chinese city said they had arrested a 37-year-old man surnamed Lin at the scene, saying he had come to Shanghai to “vent his anger” at his personal economic circumstances.

The attack took place at a shopping centre in the densely-populated Songjiang district in the city’s southwest.

Three of those who were attacked died of their wounds in hospital, while the others did not suffer life-threatening injuries.

An eyewitness, who runs a jewellery store in the area, told the BBC: "There was blood everywhere.

"I didn’t know what was happening, but suddenly, I saw people running in a panic.

"No one had ever experienced something like this, and we weren’t mentally prepared for it... This kind of random incident is terrifying and unsettling.”

He added that he had "narrowly escaped" death.

The attack took place on the eve of China’s national day, a public holiday, on October 1.

Discussions on Chinese social media have reportedly been censored, while the supermarket has since reopened for business with additional security.

Public stabbing incidents have risen over the years in China.

Last month, a 10-year-old Japanese boy died after he was stabbed near his school in southern China.

Meanwhile, in June four American college instructors were stabbed in a public park in Jilin in the northeast of the country.

A man also separately stabbed dead two people and wounded 21 others at a hospital in the southern province of Yunnan earlier this year.

Disclaimer: The copyright of this article belongs to the original author. Reposting this article is solely for the purpose of information dissemination and does not constitute any investment advice. If there is any infringement, please contact us immediately. We will make corrections or deletions as necessary. Thank you.