Skip to content
XSS Disclosed report

Reflected XSS in Share-This Code of AMO

Michael Coates Follow

Originally disclosed on Mozilla

  • Fixed in 9 hours
  • Paid in 3.2 years
  • Disclosed after 9 hours
Text
This issue was reported by Ervis Tusha to [address removed]

Issue

The addons.mozilla.org site contains a reflected XSS issue within the share-this potion of the site.  The following POC demonstrates the flaw:

https://addons.mozilla.org/en-US/firefox/addon/777/"/><script>alert(document.cookie)</script>

The vulnerable code appears to be the "share-this" code which is inserting the URL contents into HTML without HTML entity encoding.



Recommended Remediation:

Use html entity output encoding to safely insert the URL contents into the page.

The original report as published on Mozilla's Bugzilla, by Michael Coates. 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 Public Pages. Mozilla made it public on 4 September 2010.

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