Skip to content
XSS Disclosed report Intermediate

Stored XSS on TikTok's backend leads to the leakage of highly sensitive administrator data (Cookies, API Keys, Internal Paths, Emails, phone numbers).

A stored cross-site scripting flaw in TikTok's partner application form allowed a malicious payload to be stored and later executed in an internal administrative analytics environment when an employee reviewed the submission. This exposed sensitive data such as session tokens, JWT credentials, and personal information.

ahmed_xyz Follow

Originally disclosed on HackerOne

Medium 6.8 View original
  • Triaged in 21 days
  • Fixed in 45 days
  • Paid in 49 days
  • Disclosed after 6 months

Summary by the program

A stored cross-site scripting vulnerability was found in TikTok's contact form backend. When malicious code was submitted through the form, it executed when administrators viewed the submission, exposing sensitive internal data. The vulnerability was classified as Medium severity due to the complex conditions required for exploitation

Summary by the researcher

A Critical Blind Stored Cross-Site Scripting (XSS) vulnerability was found through injection of a malicious payload into a publicly accessible partner application form used by TikTok’s influencers, agencies, and content creators. The injected payload was silently stored and later propagated into TikTok’s internal administrative systems, specifically within an internal big data analytics environment (Dorado / DataLeap) restricted to privileged employees.

After several months, the payload was unintentionally triggered when a privileged internal employee accessed and reviewed the submitted data through an internal browser-based data analytics tool integrated within TikTok's backend infrastructure. This resulted in unauthorized execution of untrusted JavaScript code directly within a highly sensitive, closed administrative environment running in the employee's browser session.

The execution led to the exposure of highly sensitive internal data, including employee session tokens, administrative JWT credentials, and (PII), internal project identifiers, user search records, and detailed information about TikTok’s internal data analytics architecture, and Backend — clearly demonstrating the significant risks associated with unfiltered external input traversing into secured backend systems.

WriteUp : https://medium.com/@ahmed_xyz/18c433f49d91

The original report as published on HackerOne, by ahmed_xyz. Images and videos are our own copies; raw HTML is shown as text. View it on HackerOne.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

How it worked

Root cause

Likely, user-supplied input from a public form was stored and later rendered without proper sanitisation or output encoding in an internal analytics tool.

Impact

The execution could expose employee session tokens, administrative JWT credentials, personal information, internal project identifiers, and details of internal analytics architecture, though the report notes complex conditions were required.

What the attacker needed

Access to public partner form; employee views submission in internal tool

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

Cross-site scripting (XSS) is when a website accepts text from a user and later shows it without making it safe, so hidden code runs in someone else's browser. Here, a form meant for outside partners stored code that ran inside an employee's browser when they looked at the data, letting the attacker see things the employee could see.

What is XSS?

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.

More by ahmed_xyz

View all

2 more disclosed reports, best first.

More from TikTok

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Cross-site scripting (XSS)

The lesson behind this report.

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.