Skip to content
XSS Disclosed report Beginner

stored xss on the site qsurvey.mozilla.com

A survey page on qsurvey.mozilla.com reflected a survey slug into an iframe, allowing an attacker to inject a javascript: URL that executed script in the site's origin. An attacker could run arbitrary JavaScript in a victim's browser when they visited a crafted link.

Sergey Follow

Originally disclosed on Mozilla

  • Fixed in 20 days
  • Paid in 27 days
  • Disclosed after 20 days
Text
how to reproduce:

1. navigate to url:
https://qsurvey.mozilla.com/s3/offline/index.php?__slug=www.surveygizmo.com/s3/3764206/Campus-Safety-Survey&sLanguage=Auto

2. will be shown popup with name of domain

----------------------------
p.s: has been created a survey (www.surveygizmo.com/s3/3764206/Campus-Safety-Survey) with content <ifram src="javascript:alert(document.domain)">

The original report as published on Mozilla's Bugzilla, by Sergey. 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

What the attacker needed

Ability to create a survey; victim visits 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 website took part of a web address and put it into a page without checking it. By crafting a special link, someone could make the site run their own code in a visitor's browser, which is called cross-site scripting (XSS).

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 Sergey

View all

5 more disclosed reports, best first.

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.