CVE-2012-5851 Security feature bypass in n/a

Medium 4.3 Published Updated

Remote attackers can bypass the WebKit XSS filter via crafted strings, enabling cross-site scripting attacks in Chrome and Safari.

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

CVE-2012-5851 is a medium-severity vulnerability in Apple Safari, published on 15 Nov 2012. 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

html/parser/XSSAuditor.cpp in WebCore in WebKit, as used in Google Chrome through 22 and Safari 5.1.7, does not consider all possible output contexts of reflected data, which makes it easier for remote attackers to bypass a cross-site scripting (XSS) protection mechanism via a crafted string, aka rdar problem 12019108.

Weakness: CWE-79

Which versions are affected by CVE-2012-5851?

It affects 3 products.

Products include Apple Safari, Apple Webkit, Google Chrome.

How do I fix CVE-2012-5851?

No fix has been published for CVE-2012-5851 yet. Limit exposure of the affected software until one is available.

Is CVE-2012-5851 being exploited?

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

Public exploit code: 1 Exploit-DB entry.

All Apple Safari vulnerabilities

Sources

Also known as GHSA-xqrw-qq76-h9pm, UBUNTU-CVE-2012-5851.

Is CVE-2012-5851 in your software?

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

Check your SBOMs for free