Back

MEDIUM

Mozilla: XSS by breaking out of title and textarea elements using innerHTML

Published Sep 27, 2019

Description

Some HTML elements, such as &lt;title&gt; and &lt;textarea&gt;, can contain literal angle brackets without treating them as markup. It is possible to pass a literal closing tag to .innerHTML on these elements, and subsequent content after that will be parsed as if it were outside the tag. This can lead to XSS if a site does not filter user input as strictly for these elements as it does for other elements. This vulnerability affects Firefox < 69, Thunderbird < 68.1, Thunderbird < 60.9, Firefox ESR < 60.9, and Firefox ESR < 68.1.

Affected products

Remediation

Red Hat statement

In general, this flaw cannot be exploited through email in Thunderbird because scripting is disabled when reading mail, but it may present a risk in browser-like contexts.

Metrics

References (17)

Change history (0)

No recorded changes yet.

Sources
CVE.org / MITRE
Status PUBLISHED
Assigner mozilla
Published Sep 27, 2019
Updated Aug 4, 2024
Reserved May 3, 2019
NVD
Status Modified
Modified Jun 17, 2026
Red Hat
Severity Important
Public date Sep 3, 2019