Skip to content
XSS Disclosed report Beginner

RXSS via region parameter

A TikTok endpoint reflected the 'region' parameter without HTML escaping, so a JavaScript payload could run in a victim's browser. The report does not describe how a victim would be made to trigger it.

szit Follow

Originally disclosed on HackerOne

Medium 4.7 View original
  • Triaged in 3 days
  • Fixed in 27 days
  • Paid in 8 days
  • Disclosed after 56 days

Summary by the program

A Cross-Site Scripting (XSS) vulnerability was found on a TikTok endpoint via the 'region' 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.

The original report as published on HackerOne, by szit. 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 the 'region' parameter was written into the HTML response without escaping or output encoding.

Impact

A crafted link could cause JavaScript to execute in a user's browser in the context of the affected endpoint.

What the attacker needed

Victim triggers the reflected payload (delivery not…

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.

Reflected cross-site scripting happens when a website takes something you typed in a link and puts it straight into the page without cleaning it. If that text is code, the browser runs it as if the site itself had written it. Here the 'region' value was echoed back unsafely.

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 szit

View all

4 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.