Skip to content
XSS Disclosed report Beginner

XSS in URL in qsurvey.mozilla.com

A reflected cross-site scripting vulnerability existed in the qsurvey.mozilla.com URL, allowing an attacker to inject a script payload via the branding parameter. The payload executed in both Firefox and Chromium-based browsers.

John Doe Follow

Originally disclosed on Mozilla

  • Fixed in 30 days
  • Paid in 30 days
  • Disclosed after 30 days
Text
Created attachment 8946066
XSS in qsurvey.mozilla.com

1. Go to 
https://qsurvey.mozilla.com/s3/chip-1?v=2&branding=Firefox13819%27%3balert(1)%2f%2f109&sglocale=de&distro=mozilla119&branch=control1

Works both in Firefox and Chromium-based browsers.
That's my first bug found, sorry if report is not written properly

The original report as published on Mozilla's Bugzilla, by John Doe. Images and videos are our own copies; raw HTML is shown as text. View it on Mozilla's Bugzilla.

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 branding parameter was reflected into the page without proper output encoding.

Impact

An attacker could execute arbitrary JavaScript in a victim's browser by tricking them into clicking a crafted link, potentially stealing data or performing actions on their behalf.

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 input from a URL and puts it directly into the page without cleaning it, so an attacker can make the browser run their own code. Here, a crafted link caused a harmless alert box to appear, showing that 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 from Mozilla

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.