Loading HuntDB...

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

High
L
Lab45
Submitted None
Reported by meryem0x

Vulnerability Details

Technical details and impact analysis

Cross-site Scripting (XSS) - Stored
## 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 {F817588} 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.

Report Details

Additional information and metadata

State

Closed

Substate

Resolved

Submitted

Weakness

Cross-site Scripting (XSS) - Stored