All vulnerabilities

Web browsers

CVE-2009-3012

Mozilla Firefox 3.0.13 and earlier, 3.5, 3.6 a1 pre, and 3.7 a1 pre does not properly block data: URIs in Location headers in HTTP responses, which allows remote attackers to conduct cross-site scripting (XSS) attacks via vectors related to (1) injecting a Location header that contains JavaScript sequences in a data:text/html URI or (2) entering a data:text/html URI with JavaScript sequences…

Severity
Medium 4.3
Published
31 Aug 2009
Last changed
16 Jun 2026
Added to UpHeron
17 Nov 2026
Exploit chance
0.8% in the next 30 daysHigher than 58% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
Cross-site scripting (CWE-79)
Attack
Over the network · No login needed
Attacker can
Change some data
CVSS vector
AV:N/AC:M/Au:N/C:N/I:P/A:N
Sources
NVD

Description

Mozilla Firefox 3.0.13 and earlier, 3.5, 3.6 a1 pre, and 3.7 a1 pre does not properly block data: URIs in Location headers in HTTP responses, which allows remote attackers to conduct cross-site scripting (XSS) attacks via vectors related to (1) injecting a Location header that contains JavaScript sequences in a data:text/html URI or (2) entering a data:text/html URI with JavaScript sequences when specifying the content of a Location header. NOTE: the JavaScript executes outside of the context of the HTTP site.

From NVD.

Affected software

SoftwareAffected versions
Mozilla FirefoxWeb browsers · cpe:a:mozilla:firefox
  • Version 3.7-a1_pre
  • Version 3.6-a1_pre
  • Version 3.5
  • Version 3.0.12
All 20 release lines
  • Every version up to 3.0.13
  • Version 3.0-alpha
  • Version 3.0-beta2
  • Version 3.0-beta5
  • Version 3.0
  • Version 3.0.1
  • Version 3.0.2
  • Version 3.0.3
  • Version 3.0.4
  • Version 3.0.5
  • Version 3.0.6
  • Version 3.0.7
  • Version 3.0.8
  • Version 3.0.9
  • Version 3.0.10
  • Version 3.0.11
  • Version 3.0.12
  • Version 3.5
  • Version 3.6-a1_pre
  • Version 3.7-a1_pre

About Mozilla Firefox

Release lines

ReleaseLatestSecurity fixes
160160.0Until 24 Nov 2026
159159.0.1Ended 10 Nov 2026
158158.0.1Ended 27 Oct 2026
157157.0.1Ended 13 Oct 2026
156156.0.1Ended 29 Sept 2026
155155.0.1Ended 15 Sept 2026

From endoflife.date.

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2009-3012
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2009-3012