Skip to content
Disclosed report CVE-2014-8644

<marquee> event handlers run when JS disabled (e.g. in Thunderbird mail)

Daniel Veditz Follow

Originally disclosed on Mozilla

  • Fixed in 14 days
  • Paid in 16 days
  • Disclosed after 14 days
Text
+++ 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?

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

More by Daniel Veditz

View all

13 more disclosed reports, best first.

More from Mozilla

View all

The newest disclosed reports for this program.

Similar reports

Same bug class and techniques, clearest first.