Skip to content
XSS Disclosed report Beginner CVE-2018-5230

Cross Site Scripting via CVE-2018-5230 on https://apps.topcoder.com

A reflected cross-site scripting flaw existed in the wiki labels page, where a crafted URL containing an iframe with a javascript URI was echoed back in an error message. An attacker could use this to run script in a victim's browser and steal their cookies.

n0x496n Follow

Originally disclosed on HackerOne

  • Fixed in 32 hours
  • Disclosed after 32 days

Hi, I found reflected xss on https://apps.topcoder.com via error message..

Payload : %3CIFRAME%20SRC%3D%22javascript%3Aalert%28%27XSS%27%29%22%3E.vm

Vulnerable link : https://apps.topcoder.com/wiki/labels/%3CIFRAME%20SRC%3D%22javascript%3Aalert('XSS')%22%3E.vm

Step to reproduce : Create an account and visit the vulnerable url..

firstcve.png
firstcve.png From the original on HackerOne

References :

https://www.cvedetails.com/cve/CVE-2018-5230/ https://www.exploit-db.com/exploits/37791

Best regards..

Impact

Hackers can steal victim`s cookies

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

Impact

An attacker could steal a victim's cookies.

What the attacker needed

A free account; victim visits 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.

Cross-site scripting (XSS) is when a website takes something a user typed or put in a link and shows it back on the page without cleaning it first, so the browser treats it as code. Here the site put the attacker's text into an error message, and that text was an iframe that runs JavaScript. Because the browser trusted the page, the script ran and could read the victim's cookies, which are small pieces of data that keep someone logged in.

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 n0x496n

View all

5 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.