Back to CVE catalog
CVE-2012-5851

XSS bypass in WebKit

Multiple products

At a glance

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.

Source description · CVE List / CNA

System impact

Attack complexityMedium
ConfidentialityNone
IntegrityPartial
AvailabilityNone

CVSS summary v2.0

4.3Medium
Published:
Updated:
EPSS:
2.285%
Exploited in attacks:
Not confirmed
Ransomware campaigns:
Not confirmed
Attack vector:
Network

Affected software

Vendor, product and affected version ranges.

Vendor, product and affected versions
Vendor:ApplesafariAffected versions:
5.1.7
Vendor:ApplewebkitAffected versions:
Range not specifiedShow full version range for webkit
  • Other versions are affected by default; consult the source for exceptions.
Vendor:googlechromeAffected versions:
≤ 22.0.1229.96Show full version range for chrome
22.0.1229.022.0.1229.122.0.1229.1022.0.1229.1122.0.1229.1222.0.1229.1422.0.1229.1622.0.1229.1722.0.1229.1822.0.1229.222.0.1229.2022.0.1229.2122.0.1229.2222.0.1229.2322.0.1229.2422.0.1229.2522.0.1229.2622.0.1229.2722.0.1229.2822.0.1229.2922.0.1229.322.0.1229.3122.0.1229.3222.0.1229.3322.0.1229.3522.0.1229.3622.0.1229.3722.0.1229.3922.0.1229.422.0.1229.4822.0.1229.4922.0.1229.5022.0.1229.5122.0.1229.5222.0.1229.5322.0.1229.5422.0.1229.5522.0.1229.5622.0.1229.5722.0.1229.5822.0.1229.5922.0.1229.622.0.1229.6022.0.1229.6222.0.1229.6322.0.1229.6422.0.1229.6522.0.1229.6722.0.1229.722.0.1229.7622.0.1229.7822.0.1229.7922.0.1229.822.0.1229.8922.0.1229.922.0.1229.9122.0.1229.9222.0.1229.9422.0.1229.95

1–3 of 3 · Page 1 of 1

CVSS scores and metrics2
[email protected] · NVD (Primary)Primary4.3 / 10MediumCVSS 2.0Details
Attack complexity
Medium
Confidentiality
None
Integrity
Partial
Availability
None
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:M/Au:N/C:N/I:P/A:N
nvd · Wazuh CTI (cna)4.3 / 10MediumCVSS 2.0Details
Attack complexity
Medium
Confidentiality
None
Integrity
Partial
Availability
None
Attack vector
Network
Authentication
Not required

Source vector

AV:N/AC:M/Au:N/C:N/I:P/A:N

CVSS measures severity; EPSS estimates exploitation probability. Lack of confirmed attacks does not mean lack of risk.

Sources and advisories7

This product uses the NVD API but is not endorsed or certified by the NVD. CVE® records © The MITRE Corporation, reproduced under the CVE Terms of Use. Data sources and licences