Reflective Xss Vulnerability
A reflected cross-site scripting flaw existed on the site's definition page, where the search term was placed inside a script block without proper escaping. An attacker could break out of the script tag and inject their own HTML, causing script to run in a victim's browser.
Originally disclosed on HackerOne
- Triaged in 4 hours
- Fixed in 7 hours
- Disclosed after 42 days
The is located in here http://www.urbandictionary.com/define.php?term= in the snippet of code from your site
<script> //<
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 search term was inserted into an inline script block without escaping, so a closing script tag could break out of the script context.
Impact
An attacker could run script in a victim's browser on the site's domain, though the report only demonstrates a confirmation dialog.
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 web page sometimes puts what you typed into the page's code. Here the site put the search term inside a script block without cleaning it. By typing a closing script tag and some extra markup, a person could make the page run their own code, which is called cross-site scripting.
What is XSS?
Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.