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

Medium 4.3 Published Updated

Remote attackers can inject arbitrary web script via event handlers in Apple Safari, potentially executing code or stealing data.

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
Available

What is CVE-2009-1684?

CVE-2009-1684 is a medium-severity cross-site scripting vulnerability in Apple Safari, published on 10 Jun 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

Cross-site scripting (XSS) vulnerability in WebKit in Apple Safari before 4.0, iPhone OS 1.0 through 2.2.1, and iPhone OS for iPod touch 1.1 through 2.2.1 allows remote attackers to inject arbitrary web script or HTML via an event handler that triggers script execution in the context of the next loaded document.

Weakness: CWE-79

Which versions are affected by CVE-2009-1684?

It affects 1 product.

Products include Apple Safari.

How do I fix CVE-2009-1684?

Upgrade to a fixed version.

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-1684 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2009-1684 exists.

Public exploit code: 1 Exploit-DB entry.

All Apple Safari vulnerabilities

Sources

Also known as GHSA-grrr-84rx-ch99.

Is CVE-2009-1684 in your software?

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

Check your SBOMs for free