CVE-2012-5851
CVE-2012-5851 is a medium-severity vulnerability in Apple Webkit with a CVSS 2.0 base score of 4.3. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-79.
Key facts
- Severity: Medium (CVSS 2.0 base score 4.3)
- EPSS exploit prediction: 2% (82nd percentile)
- Actively exploited: Not listed in CISA KEV
- Weakness: CWE-79
- Affected product: Apple Webkit
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2012-5851?
- 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.
- How severe is CVE-2012-5851?
- CVE-2012-5851 has a CVSS 2.0 base score of 4.3, rated medium severity.
- Is CVE-2012-5851 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 2% (82nd percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2012-5851?
- CVE-2012-5851 primarily affects Apple Webkit. In total, 62 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2012-5851?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- When was CVE-2012-5851 published?
- CVE-2012-5851 was published on 2012-11-15 and last updated on 2026-06-16.
References
- http://blog.opensecurityresearch.com/2012/09/simple-cross-site-scripting-vector-that.html
- https://bugs.webkit.org/show_bug.cgi?id=92692
- https://exchange.xforce.ibmcloud.com/vulnerabilities/80072
Affected products (62)
- cpe:2.3:a:apple:webkit:*:*:*:*:*:*:*:*
- cpe:2.3:a:google:chrome:*:*:*:*:*:*:*:*
- cpe:2.3:a:google:chrome:22.0.1229.0:*:*:*:*:*:*:*
- cpe:2.3:a:google:chrome:22.0.1229.1:*:*:*:*:*:*:*
- cpe:2.3:a:google:chrome:22.0.1229.2:*:*:*:*:*:*:*
- cpe:2.3:a:google:chrome:22.0.1229.3:*:*:*:*:*:*:*
- cpe:2.3:a:google:chrome:22.0.1229.4:*:*:*:*:*:*:*
- cpe:2.3:a:google:chrome:22.0.1229.6:*:*:*:*:*:*:*
- cpe:2.3:a:google:chrome:22.0.1229.7:*:*:*:*:*:*:*
- cpe:2.3:a:google:chrome:22.0.1229.8:*:*:*:*:*:*:*
- cpe:2.3:a:google:chrome:22.0.1229.9:*:*:*:*:*:*:*
- cpe:2.3:a:google:chrome:22.0.1229.10:*:*:*:*:*:*:*
- cpe:2.3:a:google:chrome:22.0.1229.11:*:*:*:*:*:*:*
- cpe:2.3:a:google:chrome:22.0.1229.12:*:*:*:*:*:*:*
- cpe:2.3:a:google:chrome:22.0.1229.14:*:*:*:*:*:*:*
- cpe:2.3:a:google:chrome:22.0.1229.16:*:*:*:*:*:*:*
- cpe:2.3:a:google:chrome:22.0.1229.17:*:*:*:*:*:*:*
- cpe:2.3:a:google:chrome:22.0.1229.18:*:*:*:*:*:*:*
- cpe:2.3:a:google:chrome:22.0.1229.20:*:*:*:*:*:*:*
- cpe:2.3:a:google:chrome:22.0.1229.21:*:*:*:*:*:*:*
- cpe:2.3:a:google:chrome:22.0.1229.22:*:*:*:*:*:*:*
- cpe:2.3:a:google:chrome:22.0.1229.23:*:*:*:*:*:*:*
- cpe:2.3:a:google:chrome:22.0.1229.24:*:*:*:*:*:*:*
- cpe:2.3:a:google:chrome:22.0.1229.25:*:*:*:*:*:*:*
- cpe:2.3:a:google:chrome:22.0.1229.26:*:*:*:*:*:*:*
- cpe:2.3:a:google:chrome:22.0.1229.27:*:*:*:*:*:*:*
- cpe:2.3:a:google:chrome:22.0.1229.28:*:*:*:*:*:*:*
- cpe:2.3:a:google:chrome:22.0.1229.29:*:*:*:*:*:*:*
- cpe:2.3:a:google:chrome:22.0.1229.31:*:*:*:*:*:*:*
- cpe:2.3:a:google:chrome:22.0.1229.32:*:*:*:*:*:*:*
- cpe:2.3:a:google:chrome:22.0.1229.33:*:*:*:*:*:*:*
- cpe:2.3:a:google:chrome:22.0.1229.35:*:*:*:*:*:*:*
- cpe:2.3:a:google:chrome:22.0.1229.36:*:*:*:*:*:*:*
- cpe:2.3:a:google:chrome:22.0.1229.37:*:*:*:*:*:*:*
- cpe:2.3:a:google:chrome:22.0.1229.39:*:*:*:*:*:*:*
- cpe:2.3:a:google:chrome:22.0.1229.48:*:*:*:*:*:*:*
- cpe:2.3:a:google:chrome:22.0.1229.49:*:*:*:*:*:*:*
- cpe:2.3:a:google:chrome:22.0.1229.50:*:*:*:*:*:*:*
- cpe:2.3:a:google:chrome:22.0.1229.51:*:*:*:*:*:*:*
- cpe:2.3:a:google:chrome:22.0.1229.52:*:*:*:*:*:*:*
More vulnerabilities in Apple Webkit
- CVE-2011-1290 — Critical (CVSS 10.0): Integer overflow in WebKit, as used on the Research In Motion (RIM) BlackBerry Torch 9800 with firmware 6.0.0.246, in…
- CVE-2010-1760 — Critical (CVSS 10.0): loader/DocumentThreadableLoader.cpp in the XMLHttpRequest implementation in WebCore in WebKit before r58409 does not…
- CVE-2010-1386 — Critical (CVSS 10.0): page/Geolocation.cpp in WebCore in WebKit before r56188 and before 1.2.5 does not properly restrict access to the…
- CVE-2011-1797 — Critical (CVSS 9.3): WebKit, as used in Apple Safari before 5.0.6, allows remote attackers to execute arbitrary code or cause a denial of…
- CVE-2011-1462 — Critical (CVSS 9.3): WebKit, as used in Apple Safari before 5.0.6, allows remote attackers to execute arbitrary code or cause a denial of…
- CVE-2011-1457 — Critical (CVSS 9.3): WebKit, as used in Apple Safari before 5.0.6, allows remote attackers to execute arbitrary code or cause a denial of…
All CVEs affecting Apple Webkit →
Other CWE-79 (Cross-site Scripting (XSS)) vulnerabilities
- CVE-2025-49410 — Critical (CVSS 10.0): Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in Imran Emu TC…
- CVE-2024-47875 — Critical (CVSS 10.0): DOMPurify is a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG. DOMpurify was vulnerable to…
- CVE-2024-6886 — Critical (CVSS 10.0): Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') vulnerability in Gitea…
- CVE-2023-45144 — Critical (CVSS 10.0): com.xwiki.identity-oauth:identity-oauth-ui is a package to aid in building identity and service providers based on…
- CVE-2023-45138 — Critical (CVSS 10.0): Change Request is an pplication allowing users to request changes on a wiki without publishing the changes directly.…
- CVE-2022-4361 — Critical (CVSS 10.0): Keycloak, an open-source identity and access management solution, has a cross-site scripting (XSS) vulnerability in the…
Browse all CWE-79 (Cross-site Scripting (XSS)) vulnerabilities →