Skip to content
XSS Disclosed report

Cross-site scripting vulnerability in add-on name autocomplete

Wladimir Palant Follow

Originally disclosed on Mozilla

  • Fixed in 3 months
  • Paid in 3 months
  • Disclosed after 3 months
Text
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.

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

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.