Cross-site scripting vulnerability in add-on name autocomplete
Originally disclosed on Mozilla
- Fixed in 3 months
- Paid in 3 months
- Disclosed after 3 months
Steps to reproduce:
1. Edit the name of a fully reviewed add-on into the following:
> XSS dummy add-on<img src="foo" onerror="alert('xss')">
2. Now log in as a different developer and edit the listing for one of your add-ons.
3. Click "Edit" on the Technical Details section and enter "dummy" into the "Required Add-ons" field.
An alert message with the text "xss" will appear - the autocomplete popup fails to sanitize HTML code in the add-on title. The problematic code is https://github.com/mozilla/olympia/blob/966195c76f7d8e40d842c3bf4d74301947f52cfa/static/js/impala/formset.js#L198 I think, the extension name is being inserted without any escaping here.
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 Developer Pages. 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.