Skip to content
XSS Disclosed report

Cross-site scripting vulnerability via extension GUIDs

Wladimir Palant Follow

Originally disclosed on Mozilla

  • Fixed in 4 months
  • Paid in 3 months
  • Disclosed after 4 months
Text
Open the following URL in your browser:

  https://services.addons.mozilla.org/en-US/firefox/discovery/pane/pane/40.0/strict#{%22%3Cimg%20src=%27foo%27%20onerror=%27alert%28"xss"%29%27%3E%22:%20{%22type%22:%20%22extension%22}}

This will currently result in an alert message saying "XSS". I think that the problematic code is https://github.com/mozilla/olympia/blob/7581411223af1e14b85771db50e70a11bbb7539a/static/js/zamboni/discovery_pane.js#L116 - passing unchecked strings to jQuery is a bad idea. AMO normally gets away with it because jQuery will consider anything starting with # a selector rather than HTML code (see http://bugs.jquery.com/ticket/9521).

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 Discovery Pane. Mozilla made it public on 8 January 2016.

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.