Three knife-wielding attackers killed five people and injured another five in China's region of Xinjiang before police killed the "thugs," a regional government said, the latest violence on China's border with Central Asia.

The attack took place on Tuesday evening in Pishan County in the restive southern part of Xinjiang, the government of Hotan prefecture said in a short statement on its website early on Wednesday.

"At present, social order is normal at the site, society is stable, and investigation work is under way," it said, without giving further details about the attackers or their motive.