Skip to content
XSS Disclosed report

XSS vulnerability

Khavish Follow

Originally disclosed on Mozilla

  • Fixed in 8 days
  • Paid in 6 days
  • Disclosed after 8 days
Text
Created attachment 741159
Webmaker XSS Proof .png

User Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.64 Safari/537.31

Steps to reproduce:

There is an XSS vulnerability for the code parameter
Proof of Concept (With Interger i.e 1):  https://badges.webmaker.org/claim?code=%22%3E%3Cscript%3Ealert%281%29;%3C/script%3E
Proof of Concept (With String i.e `XSS found by Khavish`): https://badges.webmaker.org/claim?code=%22%3E%3Cscript%3Ealert%28/XSS%20by%20Khavish/%29;%3C/script%3E


Actual results:

The alert box appeared , prompting my string 'XSS found by Khavish'  indicating that the Cross Scripting was a success.


Expected results:

The following HTML entities should have been properly escaped with HTML entity encoding to prevent switching into any execution context, such as script.
i.e < should be encoded as &lt;
< --> &lt;
 > --> &gt;
 " --> &quot;
 / --> &#x2F;

The original report as published on Mozilla's Bugzilla, by Khavish. 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 Badges. Mozilla made it public on 1 May 2013.

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.