CVE-2009-3011 Cross-site scripting in n/a

Medium 4.3 Published Updated

Remote attackers can execute JavaScript via data URIs in Refresh headers, enabling cross-site scripting attacks against Google Chrome users.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2009-3011?

CVE-2009-3011 is a medium-severity cross-site scripting vulnerability in Google Chrome, published on 31 Aug 2009. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Google Chrome 1.0.154.48 and earlier, 2.0.172.28, 2.0.172.37, and 3.0.193.2 Beta does not properly block data: URIs in Refresh headers in HTTP responses, which allows remote attackers to conduct cross-site scripting (XSS) attacks via vectors related to (1) injecting a Refresh 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 Refresh header. NOTE: the JavaScript executes outside of the context of the HTTP site.

Weakness: CWE-79

Which versions are affected by CVE-2009-3011?

It affects 1 product.

Products include Google Chrome.

How do I fix CVE-2009-3011?

No fix has been published for CVE-2009-3011 yet. Limit exposure of the affected software until one is available.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2009-3011 being exploited?

There is no known exploitation of CVE-2009-3011 in the wild and no public exploit code.

All Google Chrome vulnerabilities

Sources

Also known as GHSA-frx8-mqfc-pcm6.

Is CVE-2009-3011 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free