Skip to content
XSS Write-up Beginner

Muliple Stored XSS on tokopedia

The report describes multiple stored cross-site scripting vulnerabilities on Tokopedia, including in a product complaint image description field, a shop location parameter, an AngularJS-based etalase name, and a customer support system. An attacker could execute arbitrary JavaScript in other users' browsers when they view the affected pages.

apapedulimu Follow

Published on apapedulimu.click

So, It’s just old bug who I have been reported around 2018. I’ll share what I found on Tokopedia.

apapedulimu / Nosa Shandy (@LocalHost31337), on apapedulimu.click

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

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

How it worked

Root cause

Likely the application failed to properly sanitise or encode user-supplied input before storing and rendering it in various features.

Impact

An attacker could execute arbitrary JavaScript in the context of other users' sessions, potentially leading to account compromise or data theft, though the report does not detail specific consequences.

What the attacker needed

A buyer account to file a complaint; a seller account to edit shop location; a seller account to add products; a Tokocash account to create tickets

How it was found

  1. Go to the complain menu and upload an image.
  2. Enter a script payload in the image description field.
  3. The payload executes when a user navigates to the resolution menu.
  4. Open the mobile app and edit the shop location to a script payload.
  5. Open the location via a browser to trigger the script.
  6. Go to Add product, set the Etalase name to an AngularJS payload, save, and open the product.

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 write-up has not been written yet. The Original tab links to the source.

Stored cross-site scripting (XSS) happens when a website saves harmful code and later shows it to other users without cleaning it. Here, the attacker could put a script into things like an image description or shop location, and it would run in the browser of anyone who viewed that content.

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 apapedulimu

View all

5 more disclosed reports, best first.

More from Tokopedia

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.