Skip to content
XSS Disclosed report Beginner

Stored XSS on https://apps.topcoder.com/wiki/pages/editpage.action

meryem0x Follow

Originally disclosed on HackerOne

  • Triaged in 20 hours
  • Fixed in 5 days
  • Disclosed after 6 days

Summary:

Hi :) There is a stored XSS on wiki pages and it executes when editing page.

Steps To Reproduce:

After I submitted #867125, i realized that the vote macro causes stored XSS on wiki edit page. A user can edit wiki pages on https://apps.topcoder.com/wiki/pages/editpage.action?pageId=. Users can insert macros to pages. Vote macro is vulnerable to XSS.

Go to a wiki page, edit it and type

{vote:What is your favorite vulnerability?}
RCE
SSRF
XSS"><img src=X onerror=alert(document.domain)>
{vote}

and save it. When an other user edit this page, XSS will execute.

PoC: https://apps.topcoder.com/wiki/pages/editpage.action?pageId=165871793

2020-05-06_15-09-02_ekran_g_r_nt_s_.png
2020-05-06_15-09-02_ekran_g_r_nt_s_.png From the original on HackerOne

Note: This only works to signed-in users. Because unauthorized users cannot edit pages. I think there is a mistake on https://apps.topcoder.com/wiki/login.action now. If you encounter an error, you can login on main site (https://accounts.topcoder.com/member) then try.

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.

What is known

A high-severity XSS bug in apps.topcoder.com. HackerOne made it public on 12 May 2020.

About XSS

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

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

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.