Last year of high school, I impulsively called my friend's girlfriend at the time a disease-ridden whore and she was consequently very unhappy with me after that. high school drama ¯\_(ツ)_/¯
I'm pretty sure that was the only time I spoke that directly and harshly to anyone - I won't go into details but it was 100% justified, and 4 years later as an adult I still don't regret it and think she needed to hear it. Maybe not those exact words, but something to the effect of 'cut that shit out'. I didn't get in trouble for it, but it was just the most public falling out I've ever had.
As a kid I did get in trouble with my dad a lot for saying the wrong things, but only because he had such a skewed view of what "the wrong things" were and who was allowed to say them - I wasn't allowed to voice my opinions on many things because he thought it was disrespectful for me to point out certain things to him as I was "just a kid" and he was the adult.
I don't think I have an attitude problem though, I just get appropriately angry when people are shitty and sometimes it comes out verbally.