Reflected XSS on https://apps.topcoder.com/wiki/plugins/socialbookmarking/updatebookmark.action
The bookmark update page reflected user input from the url and redirect parameters without sanitisation, so a crafted link executed script in the victim's browser. An attacker could use this to steal cookies or run arbitrary code in the victim's session.
- Triaged in 14 hours
- Fixed in 6 days
- Disclosed after 7 days
Summary:
Hi :) A reflected XSS occurs when creating bookmarks.
Steps To Reproduce:
A user can create bookmarks on https://apps.topcoder.com/wiki/plugins/socialbookmarking/updatebookmark.action. In this url redirect and url parameters are vulnerable to XSS.
PoC:
https://apps.topcoder.com/wiki/plugins/socialbookmarking/updatebookmark.action?url=Asd"><img src=X onerror=alert(document.domain)>&redirect=Asd"><img src=X onerror=alert(document.cookie)>


Impact
XSS can use to steal cookies or to run arbitrary code on victim's browser.
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 bookmark update action echoed the url and redirect request parameters into the HTML response without output encoding.
Impact
An attacker could steal cookies or run arbitrary code in the victim's browser.
What the attacker needed
Victim clicks a crafted link
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 reflected cross-site scripting (XSS) bug means a website takes something from the link you clicked and puts it straight into the page without cleaning it. If that something is code, the browser runs it as if the site itself wrote it. Here the bookmark page did this with two link parameters, so a booby-trapped link could run the attacker's script in the victim'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.