Skip to content
XSS Disclosed report

Cross-site scripting vulnerability via date range

Wladimir Palant Follow

Originally disclosed on Mozilla

  • Fixed in 3 months
  • Paid in 3 months
  • Disclosed after 3 months
Text
Steps to reproduce:

1. If you used the statistics dashboard in this session already you might need to clear your cookies on AMO or log out and log in again.
2. Go to https://addons.mozilla.org/en-US/firefox/addon/adblock-plus/statistics/?last=12%3Cimg%20src=%22dummy%22%20onerror=%22alert(%27xss%27)%22%3E
3. Now go to https://addons.mozilla.org/en-US/firefox/addon/javascript-deobfuscator/statistics/ or some other add-on's statistics dashboard.

Steps 2 and 3 produce an alert message saying "xss" - once the problematic range is remembered for your session and will be reused until you switch to a different range manually, regardless of what link you use to get to the statistics dashboard. I suspect that the problematic code here is https://github.com/mozilla/olympia/blob/966195c76f7d8e40d842c3bf4d74301947f52cfa/static/js/impala/stats/controls.js#L70 - similarly to bug 1198957 the jQuery selector here is using untrusted data, meaning that it can be interpreted as HTML code.

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

What is known

A high-severity XSS bug in Statistics. Mozilla made it public on 3 December 2015.

About XSS

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

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

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 Wladimir Palant

View all

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