Skip to content
Noroxi
NVD / CVE Program· CNA mitre

CVE-2012-0474: Cross-site scripting (XSS) vulnerability in the docshell implementation in Mozilla Firefox 4.x through 11.0, Firefox ESR 10.x before 10.0.4…

MediumCVSS 4.3 · v2.0—No exploit Fix available

Noroxi assessment

Priority: Monitor (action score 18/100)

  • The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
  • Probability of exploitation in the next 30 days: 1.8% (FIRST EPSS); higher than 79.7% of all records.
  • Fixed version: firefox (Red Hat:enterprise_linux:5::client) 0:10.0.4-1.el5_8; firefox-debuginfo (Red Hat:enterprise_linux:5::client) 0:10.0.4-1.el5_8; thunderbird (Red Hat:enterprise_linux:5::client) 0:10.0.4-1.el5_8.

Low priority for now. Upgrade to firefox (Red Hat:enterprise_linux:5::client) 0:10.0.4-1.el5_8; firefox-debuginfo (Red Hat:enterprise_linux:5::client) 0:10.0.4-1.el5_8; thunderbird (Red Hat:enterprise_linux:5::client) 0:10.0.4-1.el5_8 or later.

Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it

Primary sources: NVD · CVE.org · FIRST EPSS

Cross-site scripting (XSS) vulnerability in the docshell implementation in Mozilla Firefox 4.x through 11.0, Firefox ESR 10.x before 10.0.4, Thunderbird 5.0 through 11.0, Thunderbird ESR 10.x before 10.0.4, and SeaMonkey before 2.9 allows remote attackers to inject arbitrary web script or HTML via vectors related to short-circuited page loads, aka "Universal XSS (UXSS)."

Published
Apr 25, 2012
Updated
Jun 16, 2026
EPSS
1.8% · 79th percentile

Report tools

JSON

Action score

18

Monitor

Low priority for now.

CVSS
17 / 40 · 4.3 / 10
CISA KEV
0 / 30 · Not listed
EPSS
1 / 30 · 1.8%

Get told when this record changes

  • Not in KEV: no record of exploitation in the wild
  • No public exploit code on record
  • A fix has been released

If any of these changes, we'll tell you in the daily email digest.

Follow CVE-2012-0474

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits every 10 minutes on paid plans, on the hour on the free plan.

Limit the impact of XSSCheck security headers

Your free account also gets you

  • CVE alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools, at most 30 a day (3 a day without an account), an API key and MCP
  • All your scans in one panel: findings, what changed in the last scan, a report per domain or per client (PDF, share link)
All free tools

Limit the impact of XSSCheck security headers

Is your version affected? Check it

Noroxi analysis

What does it mean in your environment?

The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.

We use this product, ask for help

Affected systems

Is your version affected?

Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.

VendorProduct
mozillafirefox
mozillathunderbird
mozillathunderbird esr
mozillaseamonkey

Limit the impact of XSS

This is a cross-site scripting (XSS) vulnerability. A well-configured Content-Security-Policy doesn't fix it, but greatly reduces its impact. Check your site's CSP and other security headers for free.

Check security headers

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • mozilla firefox10.0
  • mozilla firefox10.0.1
  • mozilla firefox10.0.2
  • mozilla firefox10.0.3
  • mozilla firefox11.0
  • mozilla firefox4.0
  • mozilla firefox4.0.1
  • mozilla firefox5.0

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Red Hat:enterprise_linux:5::clientfirefoxbefore 0:10.0.4-1.el5_80:10.0.4-1.el5_8
Red Hat:enterprise_linux:5::clientfirefox-debuginfobefore 0:10.0.4-1.el5_80:10.0.4-1.el5_8
Red Hat:enterprise_linux:5::clientthunderbirdbefore 0:10.0.4-1.el5_80:10.0.4-1.el5_8
Red Hat:enterprise_linux:5::clientthunderbird-debuginfobefore 0:10.0.4-1.el5_80:10.0.4-1.el5_8
Red Hat:enterprise_linux:5::clientxulrunnerbefore 0:10.0.4-1.el5_80:10.0.4-1.el5_8
Red Hat:enterprise_linux:5::clientxulrunner-debuginfobefore 0:10.0.4-1.el5_80:10.0.4-1.el5_8
Red Hat:enterprise_linux:5::client_workstationxulrunner-develbefore 0:10.0.4-1.el5_80:10.0.4-1.el5_8
Red Hat:enterprise_linux:6::clientfirefoxbefore 0:10.0.4-1.el6_20:10.0.4-1.el6_2
Red Hat:enterprise_linux:6::clientfirefox-debuginfobefore 0:10.0.4-1.el6_20:10.0.4-1.el6_2
Red Hat:enterprise_linux:6::clientthunderbirdbefore 0:10.0.4-1.el6_20:10.0.4-1.el6_2
Red Hat:enterprise_linux:6::clientthunderbird-debuginfobefore 0:10.0.4-1.el6_20:10.0.4-1.el6_2
Red Hat:enterprise_linux:6::clientxulrunnerbefore 0:10.0.4-1.el6_20:10.0.4-1.el6_2
Red Hat:enterprise_linux:6::clientxulrunner-debuginfobefore 0:10.0.4-1.el6_20:10.0.4-1.el6_2
Red Hat:enterprise_linux:6::clientxulrunner-develbefore 0:10.0.4-1.el6_20:10.0.4-1.el6_2

Other highest-scoring records for the same primary product.

  • CVE-2010-3765Mozilla Firefox 3.5.x through 3.5.14 and 3.6.x through 3.6.11, Thunderbird 3.1.6 before 3.1.6 and 3.0.x before 3.0.10, and SeaMonkey 2.x…KEV
    94Now
  • CVE-2019-11708Insufficient vetting of parameters passed with the Prompt:Open IPC message between child and parent processes can result in the…KEV
    87Now
  • CVE-2015-4495The PDF reader in Mozilla Firefox before 39.0.3, Firefox ESR 38.x before 38.1.1, and Firefox OS before 2.2 allows remote attackers to…KEV
    86Now

Published before and after this one in the same product

  • ← EarlierCVE-2012-0472Apr 25, 2012 · The cairo-dwrite implementation in Mozilla Firefox 4.x through 11.0, Firefox ESR 10.x before 10.0.4, Thunderbird 5.0 through 11.0…
    38Monitor
  • ← EarlierCVE-2012-0473Apr 25, 2012 · The WebGLBuffer::FindMaxUshortElement function in Mozilla Firefox 4.x through 11.0, Firefox ESR 10.x before 10.0.4, Thunderbird 5.0 through…
    20Monitor
  • Later →CVE-2012-0475Apr 25, 2012 · Mozilla Firefox 4.x through 11.0, Thunderbird 5.0 through 11.0, and SeaMonkey before 2.9 do not properly construct the Origin and…
    11Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
red hat:firefox0:10.0.4-1.el5_8 · Red Hat:enterprise_linux:5::clientPackage registry (OSV)
red hat:firefox-debuginfo0:10.0.4-1.el5_8 · Red Hat:enterprise_linux:5::clientPackage registry (OSV)
red hat:thunderbird0:10.0.4-1.el5_8 · Red Hat:enterprise_linux:5::clientPackage registry (OSV)
red hat:thunderbird-debuginfo0:10.0.4-1.el5_8 · Red Hat:enterprise_linux:5::clientPackage registry (OSV)
red hat:xulrunner0:10.0.4-1.el5_8 · Red Hat:enterprise_linux:5::clientPackage registry (OSV)
red hat:xulrunner-debuginfo0:10.0.4-1.el5_8 · Red Hat:enterprise_linux:5::clientPackage registry (OSV)
red hat:xulrunner-devel0:10.0.4-1.el5_8 · Red Hat:enterprise_linux:5::client_workstationPackage registry (OSV)

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

Not on record for this CVE: EPSS history · patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.

Technical details

Attack conditions

    If successful

    Confidentiality
    none
    Integrity
    P · data or configuration can be modified
    Availability
    none
    Attack complexity
    M
    Confidentiality impact
    None
    Integrity impact
    P
    Availability impact
    None

    CVSS vector

    AV:N/AC:M/Au:N/C:N/I:P/A:N

    nvd-primary

    Root cause

    User content is inserted into the page as HTML. The browser interprets the content as code rather than data.

    A representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.

    Vulnerable

    ts
    commentEl.innerHTML = comment.body;

    Fixed

    ts
    commentEl.textContent = comment.body;

    References

    All records