CVE-2011-0242 Cross-site scripting in n/a
Remote attackers can inject arbitrary web script or HTML into Apple Safari via crafted URLs containing usernames, requiring user interaction to exploit.
- 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-2011-0242?
CVE-2011-0242 is a medium-severity cross-site scripting vulnerability in Apple Safari, published on 21 Jul 2011. 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 5.0.6 allows remote attackers to inject arbitrary web script or HTML via vectors involving a URL that contains a username.
Weakness: CWE-79
Which versions are affected by CVE-2011-0242?
It affects 2 products.
Products include Apple Safari, Apple Webkit.
How do I fix CVE-2011-0242?
No fix has been published for CVE-2011-0242 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-2011-0242 being exploited?
There is no known exploitation of CVE-2011-0242 in the wild and no public exploit code.
Other vulnerabilities in Apple Safari
Sources
Also known as GHSA-pmf2-88mc-4h7q, UBUNTU-CVE-2011-0242.