Cross-site scripting vulnerability via extension GUIDs
Originally disclosed on Mozilla
- Fixed in 4 months
- Paid in 3 months
- Disclosed after 4 months
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).
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.