(CNN) Popstar Camila Cabello has apologized for previously using "horrible and hurtful language" after racist social media posts she allegedly made as a teenager resurfaced online.

The "Señorita" singer said in a post on Twitter Wednesday that she was "deeply ashamed" of her past behavior, adding that she was "uneducated and ignorant."

"When I was younger, I used language that I'm deeply ashamed of and will regret forever," she told her 10.3 million followers.

"I was uneducated and ignorant and once I became aware of the history and the weight and the true meaning behind this horrible and hurtful language, I was deeply embarrassed I ever used it.

"I apologized then and I apologize again now."

Read More