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

Medium 4.3 Published Updated

Remote attackers can execute arbitrary JavaScript in Apple Safari via malicious Refresh headers, enabling cross-site scripting attacks.

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-3016?

CVE-2009-3016 is a medium-severity cross-site scripting vulnerability in Apple Safari, 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

Apple Safari 4.0.3 does not properly block javascript: and 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 a javascript: URI, (2) entering a javascript: URI when specifying the content of a Refresh header, (3) injecting a Refresh header that contains JavaScript sequences in a data:text/html URI, or (4) entering a data:text/html URI with JavaScript sequences when specifying the content of a Refresh header.

Weakness: CWE-79

Which versions are affected by CVE-2009-3016?

It affects 1 product.

Products include Apple Safari.

How do I fix CVE-2009-3016?

No fix has been published for CVE-2009-3016 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-3016 being exploited?

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

All Apple Safari vulnerabilities

Sources

Also known as GHSA-jfc5-x82h-wvpp.

Is CVE-2009-3016 in your software?

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

Check your SBOMs for free