Skip to content
XSS Disclosed report Beginner

Stored XSS on https://apps.topcoder.com/wiki/plugins/socialbookmarking/updatebookmark.action

A bookmark creation form accepted a javascript: URL and stored it without validation. When a victim clicked the bookmark title on the wiki page, the script executed in their browser.

meryem0x Follow

Originally disclosed on HackerOne

High 7.1 View original
  • Triaged in 14 hours
  • Fixed in 6 days
  • Disclosed after 7 days

Summary:

Hi :) Adding javascript url causes to stored XSS when creating bookmark.

Steps To Reproduce:

Go to https://apps.topcoder.com/wiki/plugins/socialbookmarking/updatebookmark.action . Write javascript:alert(document.domain) on url input and fill other areas. After create, go https://apps.topcoder.com/wiki/display/tcwiki/<TITLE> and when you click the title on this page, XSS will execute.

PoC: https://apps.topcoder.com/wiki/display/tcwiki/powerpuff_hackerone_test

2020-05-06_01-05-54_ekran_g_r_nt_s_.png
2020-05-06_01-05-54_ekran_g_r_nt_s_.png From the original on HackerOne

Impact

XSS can use to steal cookies or to run arbitrary code on victim's browser.

The original report as published on HackerOne, by meryem0x. 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

Impact

An attacker could steal cookies or run arbitrary code in a victim's browser when the victim clicks the bookmark title.

What the attacker needed

Ability to create a bookmark; victim clicks the bookmark title

How it was found

  1. Open the bookmark creation page.
  2. Enter a javascript: URL in the URL field and fill the other fields.
  3. Create the bookmark.
  4. Go to the wiki display page for the bookmark title.
  5. Click the title to trigger the script.

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.

A bookmark is a saved link. The site let someone save a link that starts with 'javascript:' instead of 'http:', and later ran that code when the link was clicked. This is called stored cross-site scripting (XSS): harmful code saved on the site and run in another visitor's browser.

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 meryem0x

View all

13 more disclosed reports, best first.

More from Lab45

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.