CVE-2012-2899 Cross-site scripting in n/a
Remote attackers can bypass Same Origin Policy and execute Universal XSS in Chrome for iOS via document.write, requiring user interaction.
- 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-2012-2899?
CVE-2012-2899 is a medium-severity cross-site scripting vulnerability in Google Chrome, published on 5 Jan 2014. 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 before 21.0.1180.82 on iOS makes certain incorrect calls to WebView methods that trigger use of an applewebdata: URL, which allows remote attackers to bypass the Same Origin Policy and conduct Universal XSS (UXSS) attacks via vectors involving the document.write method.
Weakness: CWE-79
Which versions are affected by CVE-2012-2899?
It affects 1 product.
Products include Google Chrome.
How do I fix CVE-2012-2899?
No fix has been published for CVE-2012-2899 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-2012-2899 being exploited?
There is no known exploitation of CVE-2012-2899 in the wild and no public exploit code.
Other vulnerabilities in Google Chrome
Sources
Also known as GHSA-qgwf-3p7g-gqvp.