Reflected XSS in Share-This Code of AMO
Originally disclosed on Mozilla
- Fixed in 9 hours
- Paid in 3.2 years
- Disclosed after 9 hours
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.
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.