Selena Gomez and The Weeknd. Picture: Selena Gomez/Instagram

Selena Gomez's Instagram account was hacked over the weekend and a photograph of her ex-boyfriend Justin Bieber was shared on her site.

The 'Bad Liar' hitmaker - who is the most followed person on the photo-sharing site - was forced to take her profile offline temporarily over the weekend after someone managed to break through her security and post a photograph of her ex-boyfriend Justin Bieber standing in the nude on her page. 

The raunchy shots were taken two years ago while the 23-year-old hunk was on holiday with blogger Jayde Pierce in Bora Bora and were posted online at the time without his consent. 

Although the pictures were taken a while ago, Justin was no doubt devastated when he found out they'd been shared again on his ex-girlfriend's account as he admitted at the time that he felt "violated" and as if he was being ridiculed for being naked. 

He told 'Access Hollywood': "Like, I feel like I can't step outside and feel like I can go outside naked. You should feel comfortable in your own space ... especially that far away."

And Selena, 25, was undoubtedly similarly embarrassed when the pictures were published on her site over the weekend as she's now in a happy relationship with The Weeknd. 

She said recently: "I don't depend on one area of my life to make me happy. It's really important for me to love and nourish my friends and family and to make sure that I never get influenced by a guy. I've wanted to be in a strong head space for years, and I really wasn't. Before, I was so young and easily influenced, and I'd feel insecure. You want someone to add to your life, not to complete you, if that makes sense. I'm lucky because he's more of a best friend than anything else."

Selena and Justin first started dating in 2011 and have been on and off for several years until they called it quits for good in 2016.