Persistent XSS in Breadcrumbs from Display Name Field
Originally disclosed on Mozilla
- Fixed in 14 hours
- Paid in 2.9 years
- Disclosed after 14 hours
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.215 Safari/534.10
Build Identifier: All
The user Display Name field is not properly escaped in the breadcrumb area of the user profile viewer. This allows a logged-in user to enter JavaScript into their Display Name field and have it executed every time someone views their profile.
Reproducible: Always
Steps to Reproduce:
1. Go to https://addons.mozilla.org/en-US/firefox/users/edit#user-profile as a logged-in user
2. Enter script tags in the Display Name field, for example, <script>alert('xss')</script>
3. Save profile by clicking on the "Update" button
4. Go to https://addons.mozilla.org/en-US/firefox/user/[your_user_id]/
Actual Results:
Alert dialog pops up and displays "xss"
Expected Results:
All special characters should be escaped, and no alert dialog should appear.
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 XSS bug in Public Pages. Mozilla made it public on 15 December 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.