Skip to content
XSS Disclosed report Beginner

Reflected XSS on ███?loc=

A reflected cross-site scripting flaw existed in a URL parameter named loc, allowing an attacker to inject a browser-side script that would run in a victim's session. The report provides only redacted links and screenshots, so the exact payload and behaviour cannot be verified from the text.

3amoura Follow

Originally disclosed on HackerOne

Medium 6.1 View original
  • Triaged in 32 hours
  • Fixed in 47 days
  • Disclosed after 3 months

Summary:

Detalis XSS

Cross-Site Scripting (XSS) attacks are a type of injection, in which malicious scripts are injected into otherwise benign and trusted websites. XSS attacks occur when an attacker uses a web application to send malicious code, generally in the form of a browser side script, to a different end user. Flaws that allow these attacks to succeed are quite widespread and occur anywhere a web application uses input from a user within the output it generates without validating or encoding it.

Steps To Reproduce:

  1. Go to Those Links.

███████ Filter input on arrival Encode data on output Use appropriate response headers Content Security Policy. These all are standards concepts for fix the XSS vulnerabilities.

Impact

screenshot: ████████ POC: ██████████

The original report as published on HackerOne, by 3amoura. 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 reflected the loc parameter into the page without validating or encoding it.

Impact

An attacker could run script in a victim's browser session via a crafted link, though the report gives no concrete demonstration beyond redacted screenshots.

What the attacker needed

Victim clicks a crafted link

The fix

The application should validate input on arrival, encode output, set appropriate response headers and apply a Content Security Policy.

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, or 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. If that something is a small script, the browser runs it as if the site itself had written it. Here the value of a URL parameter called loc was reflected back, so a crafted link could run code in the visitor's browser.

What is XSS?

Script an attacker supplies runs in another user's browser, on the target's origin, with that user's session.

More from UPS VDP

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.