CVE-2008-1006 Cross-site scripting in n/a

Medium 4.3 Published Updated

Remote attackers can inject arbitrary web script or HTML into Apple Safari via window.open, potentially executing code or bypassing security contexts.

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-2008-1006?

CVE-2008-1006 is a medium-severity cross-site scripting vulnerability in Apple Safari, published on 19 Mar 2008. 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

Cross-site scripting (XSS) vulnerability in WebCore, as used in Apple Safari before 3.1, allows remote attackers to inject arbitrary web script or HTML by using the window.open function to change the security context of a web page.

Weakness: CWE-79

Which versions are affected by CVE-2008-1006?

It affects 1 product.

Products include Apple Safari.

How do I fix CVE-2008-1006?

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

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

All Apple Safari vulnerabilities

Sources

Also known as GHSA-x542-vw5v-gf66.

Is CVE-2008-1006 in your software?

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

Check your SBOMs for free