Reflected XSS On [https://www-useast1a.tiktok.com/ug/incentive/share/hd]
A TikTok incentive sharing endpoint reflected user-supplied data from the x parameter without proper HTML escaping, allowing a JavaScript payload to execute in a victim's browser. An attacker could craft a link that runs script in the context of the TikTok page.
- Triaged in 34 days
- Fixed in 52 days
- Paid in 44 days
- Disclosed after 4 months
Summary by the program
A Cross-Site Scripting (XSS) vulnerability was found on TikTok incentive endpoint via x parameter, due to the reflection of user-supplied data without appropriate HTML escaping or output encoding. As a result, a JavaScript payload could be injected into the affected endpoint causing it to be executed within the context of a user's browser. We thank @ashrafabdelrazik for reporting this to our team.
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
The endpoint reflected the x parameter into the HTML response without escaping or output encoding.
Impact
A crafted link could execute attacker-supplied JavaScript in a victim's browser within the TikTok origin, though the text gives no details on what that script could reach.
What the attacker needed
Victim opens a crafted link
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.
When a website takes something you typed in a link and puts it straight onto the page without cleaning it, an attacker can put code there instead of normal text. That code then runs in the browser of anyone who opens the link, as if TikTok itself had written it. This is called cross-site scripting, or XSS.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.