Vulnerabilities/CVE-2011-0161, published 11 March 2011

CVE-2011-0161: Apple safari improper input validation vulnerability

Apple, Safari

WebKit, as used in Apple Safari before 5.0.4 and iOS before 4.3, does not properly handle the Attr.style accessor, which allows remote attackers to bypass the Same Origin Policy and inject Cascading Style Sheets (CSS) token sequences via a crafted web site.

  • 4.3 CVSS 2.0 Medium
  • EPSS 1.7%, top 22.6%
  • CWE-20, Improper input validation
  • CWE-264, Permissions and access controls

Description

WebKit, as used in Apple Safari before 5.0.4 and iOS before 4.3, does not properly handle the Attr.style accessor, which allows remote attackers to bypass the Same Origin Policy and inject Cascading Style Sheets (CSS) token sequences via a crafted web site.

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

Affected products

3 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

10.0CVE-2010-1386Apple webkit permissions and access controls vulnerabilitypage/Geolocation.cpp in WebCore in WebKit before r56188 and before 1.2.5 does not properly restrict access to the lastPosition function, which has un…EPSS 2.1%10.0CVE-2010-1760Apple webkit vulnerabilityloader/DocumentThreadableLoader.cpp in the XMLHttpRequest implementation in WebCore in WebKit before r58409 does not properly handle credentials duri…EPSS 2.6%10.0CVE-2010-1119Apple safari vulnerabilityUse-after-free vulnerability in WebKit in Apple Safari before 5.0 on Mac OS X 10.5 through 10.6 and Windows, Safari before 4.1 on Mac OS X 10.4, and …EPSS 19%10.0CVE-2009-2204Apple iphone os vulnerabilityUnspecified vulnerability in the CoreTelephony component in Apple iPhone OS before 3.0.1 allows remote attackers to execute arbitrary code, obtain GP…EPSS 8.2%10.0CVE-2008-4211Apple mac os x vulnerabilityInteger signedness error in (1) QuickLook in Apple Mac OS X 10.5.5 and (2) Office Viewer in Apple iPhone OS 1.0 through 2.1 and iPhone OS for iPod to…EPSS 6.6%10.0CVE-2008-3529Xmlsoft libxml2 memory buffer overflow vulnerabilityHeap-based buffer overflow in the xmlParseAttValueComplex function in parser.c in libxml2 before 2.7.0 allows context-dependent attackers to cause a …EPSS 23%10.0CVE-2007-2843Apple safari vulnerabilityCross-domain vulnerability in Apple Safari 2.0.4 allows remote attackers to access restricted information from other domains via Javascript, as demon…EPSS 3.5%9.8CVE-2010-1205Libpng classic buffer overflow vulnerabilityBuffer overflow in pngpread.c in libpng before 1.2.44 and 1.4.x before 1.4.3, as used in progressive applications, might allow remote attackers to ex…EPSS 43%

Source: NIST National Vulnerability Database (record CVE-2011-0161), CISA KEV, FIRST EPSS (scores of 2026-12-03). This page is refreshed as NVD updates the record.