Skip to content
XSS Disclosed report Beginner

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.

laz0rde Follow

Originally disclosed on HackerOne

Medium 5.4 View original
  • 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

XSS2222.mp4 From the original on HackerOne

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

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.

More by laz0rde

View all

1 more disclosed report, 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.