The specific flaw exists within the handling of nsHTMLDocument objects. By manipulating a document's elements an attacker can force a nsHTMLDocument object in memory to be reused after it has been freed. An attacker can leverage this vulnerability to execute code under the context of the current process.
Mozilla has issued an update to correct this vulnerability. More details can be found at: