CWE
79
Advisory Published
Updated

CVE-2012-5851: XSS

First published: Thu Nov 15 2012(Updated: )

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.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
WebKit
Google Chrome (Trace Event)<=22.0.1229.96
Google Chrome (Trace Event)=22.0.1229.0
Google Chrome (Trace Event)=22.0.1229.1
Google Chrome (Trace Event)=22.0.1229.2
Google Chrome (Trace Event)=22.0.1229.3
Google Chrome (Trace Event)=22.0.1229.4
Google Chrome (Trace Event)=22.0.1229.6
Google Chrome (Trace Event)=22.0.1229.7
Google Chrome (Trace Event)=22.0.1229.8
Google Chrome (Trace Event)=22.0.1229.9
Google Chrome (Trace Event)=22.0.1229.10
Google Chrome (Trace Event)=22.0.1229.11
Google Chrome (Trace Event)=22.0.1229.12
Google Chrome (Trace Event)=22.0.1229.14
Google Chrome (Trace Event)=22.0.1229.16
Google Chrome (Trace Event)=22.0.1229.17
Google Chrome (Trace Event)=22.0.1229.18
Google Chrome (Trace Event)=22.0.1229.20
Google Chrome (Trace Event)=22.0.1229.21
Google Chrome (Trace Event)=22.0.1229.22
Google Chrome (Trace Event)=22.0.1229.23
Google Chrome (Trace Event)=22.0.1229.24
Google Chrome (Trace Event)=22.0.1229.25
Google Chrome (Trace Event)=22.0.1229.26
Google Chrome (Trace Event)=22.0.1229.27
Google Chrome (Trace Event)=22.0.1229.28
Google Chrome (Trace Event)=22.0.1229.29
Google Chrome (Trace Event)=22.0.1229.31
Google Chrome (Trace Event)=22.0.1229.32
Google Chrome (Trace Event)=22.0.1229.33
Google Chrome (Trace Event)=22.0.1229.35
Google Chrome (Trace Event)=22.0.1229.36
Google Chrome (Trace Event)=22.0.1229.37
Google Chrome (Trace Event)=22.0.1229.39
Google Chrome (Trace Event)=22.0.1229.48
Google Chrome (Trace Event)=22.0.1229.49
Google Chrome (Trace Event)=22.0.1229.50
Google Chrome (Trace Event)=22.0.1229.51
Google Chrome (Trace Event)=22.0.1229.52
Google Chrome (Trace Event)=22.0.1229.53
Google Chrome (Trace Event)=22.0.1229.54
Google Chrome (Trace Event)=22.0.1229.55
Google Chrome (Trace Event)=22.0.1229.56
Google Chrome (Trace Event)=22.0.1229.57
Google Chrome (Trace Event)=22.0.1229.58
Google Chrome (Trace Event)=22.0.1229.59
Google Chrome (Trace Event)=22.0.1229.60
Google Chrome (Trace Event)=22.0.1229.62
Google Chrome (Trace Event)=22.0.1229.63
Google Chrome (Trace Event)=22.0.1229.64
Google Chrome (Trace Event)=22.0.1229.65
Google Chrome (Trace Event)=22.0.1229.67
Google Chrome (Trace Event)=22.0.1229.76
Google Chrome (Trace Event)=22.0.1229.78
Google Chrome (Trace Event)=22.0.1229.79
Google Chrome (Trace Event)=22.0.1229.89
Google Chrome (Trace Event)=22.0.1229.91
Google Chrome (Trace Event)=22.0.1229.92
Google Chrome (Trace Event)=22.0.1229.94
Google Chrome (Trace Event)=22.0.1229.95
Apple Mobile Safari=5.1.7

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2012-5851?

    CVE-2012-5851 is rated as a medium severity vulnerability.

  • How do I fix CVE-2012-5851?

    To fix CVE-2012-5851, update your Google Chrome or Apple Safari to the latest version.

  • Which software is affected by CVE-2012-5851?

    CVE-2012-5851 affects WebKit as used in Google Chrome through version 22 and Apple Safari version 5.1.7.

  • What type of attack does CVE-2012-5851 facilitate?

    CVE-2012-5851 makes it easier for remote attackers to bypass cross-site scripting (XSS) protection mechanisms.

  • Is CVE-2012-5851 a user-exploitable vulnerability?

    Yes, CVE-2012-5851 is potentially exploitable by users visiting specially crafted web pages.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203