<marquee> event handlers run when JS disabled (e.g. in Thunderbird mail)
Originally disclosed on Mozilla
- Fixed in 14 days
- Paid in 16 days
- Disclosed after 14 days
+++ This bug was initially created as a clone of Bug #1004697 +++
Splitting the <marquee> issue from multi-issue bug 1004697
The <marquee> element implements 3 event handlers in XBL, onstart, onfinish, and onbounce. These will run even when javascript is disabled, as it is in Thunderbird mail.
Firefox testcase:
1. disable javascript
2. load the following URL
data:text/html,<marquee%20onstart=alert(1)></marquee>
Thunderbird testscase:
1. compose HTML mail to yourself
2. from the Insert menu select HTML...
3. Add the following
<marquee onstart=alert(document.body.innerHTML)>.</marquee>
4. send the mail to yourself and open in Thunderbird
The script will execute in both the composition window and the message window when receiving the mail.
I have not yet tested but I assume this bypasses NoScript protection.
Could this have anything to do with why in bug 987222 errors from marquee events are mis-identified as coming from system JS? And if so does that patch help?
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 security bug in DOM: Core & HTML. Mozilla made it public on 18 May 2014 as CVE-2014-8644.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.