Skip to content
Fencer Intel
medium 4.3

CVE-2012-5851 json

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 outpu…

published 2012-11-15 13 y ago modified 2026-06-16 4 mo ago also EUVD-2012-5729

cvss
4.3
version 2.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
2.3%
EPSS 2.3% chance of exploitation in 30 days, percentile 83%
public exploits
1
Exploit-DB

Summary

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.

Patch / fix

  • google chrome 23.0.1271.97

Timeline

  1. First public exploit (EDB-38024)
  2. Published

Exploit prediction

2.28% chance of exploitation in the next 30 days, higher than 83% of all scored CVEs (FIRST EPSS, 2026-11-09).

Exploits and checks

  • EDB-38024 WebKit Cross-Site Scripting Filter - 'Cross-Site ScriptingAuditor.cpp' Security Bypass webapps, 2012-07-19
  • blog.opensecurityresearch.com http://blog.opensecurityresearch.com/2012/09/simple-cross-site-scripting-vector-that.html referenced PoC, tagged "exploit" by a source, unverified
  • bugs.webkit.org https://bugs.webkit.org/show_bug.cgi?id=92692 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 2.0 4.3 AV:N/AC:M/Au:N/C:N/I:P/A:N

Classification

Weakness
  • CWE-79 Improper Neutralization of Input During Web Page Generation
Technology feeds

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: Consolidate version ranges.