Reflected-XSS on https://www.topcoder.com/tc via pt parameter
The pt parameter on a Topcoder review board page reflected user input into the HTML without encoding. An attacker could inject script that runs in a victim's browser, enabling cookie theft, phishing, or redirection.
- Triaged in 4 days
- Fixed in 7 months
- Disclosed after 7 months
##Summary: I Found an XSS(Reflected) at the URL mentioned and the injected parameter is: pt Steps To Reproduce: 1-go to this URL [https://www.topcoder.com/tc?module=ReviewBoard&pt=1] $$you will recognize that is parameter (pt) is reflecting its value into the page 2- try injecting this parameter with HTML tags or XSS payloads the payloads I used 1-for HTML Injection = <a+href="https://bing.com">LINK</a> 2-for XSS = <script>confirm(1)</script>
Impact
XSS can be used for : 1- Cookie stealing 2- Pishing attacks 3- URL redirection etc....
Attachments
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 application inserted the pt parameter value into the HTML response without output encoding or validation.
Impact
An attacker could steal cookies, conduct phishing, or redirect users, though the report does not demonstrate these beyond stating the possibilities.
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.
When a website takes something you type in the address bar and puts it directly into the page without cleaning it, an attacker can put code there instead of normal text. That code then runs in the browser of anyone who clicks the crafted link, as if the site itself had written it. This is called reflected cross-site scripting (XSS).
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.