Kylie Jenner Narrowly Avoids Pulling a Britney Before Khloé Kardashian’s Surprise Party!

That was close! Kylie Jenner almost pulled a Britney and flashed paparazzi before Khloé Kardashian‘s surprise birthday party.

The 19-year-old narrowly avoided a wardrobe malfunction as she got in her car wearing a super short sequined dress.

MORE: Caitlyn Jenner’s White Bra Causes a Wardrobe Malfunction!

Reminiscent of Britney Spears’ infamous fashion faux pas from 2006, Kylie showed a lot of skin but luckily nothing compared to the pop princess.

kylie jenner splash

Kylie attended Khloé’s 33rd birthday party with her BFF Jordyn Woods — and not her new boyfriend Travis Scott, who is currently on tour in Europe.

The lip kit mogul revealed she was missing her rapper beau on Instagram last week, captioning a selfie “miss u,” while showing off a butterfly painting in the background.

MORE: Kendall and Kylie Jenner Are Practically the Same Person In This Stunning Instagram Pic

Kylie and Travis started using the butterfly emoji last month to send each other subtle love notes on social media, with Travis tweeting, “Waiting on the [butterfly emoji]” on May 27. Exactly one hour later, Kylie replied with the emoji — seemingly confirming their romance.

View this post on Instagram

Follow @KimKardashianSnap for more 🍑

A post shared by Kim Kardashian Snapchats 🍑 (@kimkardashiansnap) on

Also at the surprise party was Kendall Jenner and her boyfriend A$AP Rocky — and Life & Style previously reported the couple is getting serious.

“Kendall would slip into his concerts, and he’s gone to her fashion shows, but they’ll usually have secret meetings when he’s in the studio,” the source said of their year-long romance. “They also spend time hanging with their mutual friends.”

The insider continued, “They are not in this relationship for publicity, so they won’t want a big Kardashian production for the world to see.”

For a closer look at Kylie’s wardrobe malfunction, check out the gallery below!