Unfortunately potentially true for any breed, any can snap when provoked, and too often people don't know what could provoke them. Can be as simple as picking up their food bowl or toy, and they think you're taking it. And while rare, if theyre in pain or unwell their behaviour can change. I knew someone attacked by a family dog which turned out to have a brain tumor.
We had a giant breed, incredibly soppy, a breed well known for being like a giant Teddy bear. So gentle with everyone. I've known people with aggressive chihuahuas who regularly nipped people and lost their minds, but it was always 'oh silly dog. It's OK, he's so little he can't hurt you'. Bloody hate people who think that way and don't attempt to train their dogs. Pretty sure chihuahuas, papillons and jack Russell are some of the most likely to bite, though they make news less often as they rarely result in a human death or severe maiming. I'd never let my children around a small dog because personally I think too many are poorly trained and dangerous.
But yes, a million times worse when dogs are trained to be aggressive. Trying to compensate much!