Vulnerabilities/CVE-2011-3230, published 14 October 2011

CVE-2011-3230: Apple Safari file: URL policy bypass allows code execution

Apple, Safari

Apple Safari before 5.1.1 on Mac OS X fails to enforce an intended policy for file: URLs. A crafted website can abuse this to run arbitrary code on the victim's machine. The flaw is a permissions/access-control weakness in how Safari handles local file references.

  • 6.8 CVSS 2.0 Medium
  • EPSS 49%, top 1.1%
  • CWE-264, Permissions and access controls

Description

Apple Safari before 5.1.1 on Mac OS X does not enforce an intended policy for file: URLs, which allows remote attackers to execute arbitrary code via a crafted web site.

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

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 20 September 2026. Confidence: medium.

Medium priorityCVSS 2.0 base score is 6.8 (MEDIUM) with partial confidentiality, integrity and availability impact, and there is no confirmed exploitation despite a high EPSS score.

What it is

Apple Safari before 5.1.1 on Mac OS X fails to enforce an intended policy for file: URLs. A crafted website can abuse this to run arbitrary code on the victim's machine. The flaw is a permissions/access-control weakness in how Safari handles local file references.

Impact

An attacker who lures a user to a malicious site can execute arbitrary code with the privileges of the Safari process, potentially leading to full compromise of the user's account and data.

Attack surface

Reached over the network via a crafted web site viewed in Safari; no authentication is required, but the CVSS vector (AV:N/AC:M/Au:N) indicates some user interaction or a non-trivial condition is needed to trigger it.

Exploitation

Not listed in CISA KEV and no public exploit or exploitation tag appears in the references; EPSS is high (0.493, 98.8th percentile), suggesting elevated predicted likelihood, but the record provides no confirmed in-the-wild activity.

What to do

  • Upgrade Safari to 5.1.1 or later on affected Mac OS X systems (Apple advisory HT5000).
  • If immediate upgrade is not possible, restrict browsing to trusted sites and avoid untrusted links that may invoke file: URL handling.
  • Enforce browser hardening and disable or restrict local file access where policy allows.
  • Monitor vendor advisories for any backported fixes on supported OS versions.

Detection

  • Review Safari version inventory to identify hosts still running versions before 5.1.1.
  • Monitor endpoint logs for Safari spawning unexpected child processes or accessing unusual file: paths.
  • Watch for suspicious outbound browsing patterns or downloads preceding local file execution on macOS endpoints.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

1 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-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.3CVE-2007-3944Apple safari memory buffer overflow vulnerabilityMultiple heap-based buffer overflows in the Perl Compatible Regular Expressions (PCRE) library in the JavaScript engine in WebKit in Apple Safari 3 B…EPSS 6.5%9.3CVE-2007-3376Apple safari vulnerabilityBuffer overflow in Apple Safari 3.0.2 on Windows XP SP2 allows user-assisted remote attackers to cause a denial of service (crash) and possibly execu…EPSS 5.5%9.3CVE-2007-3186Apple safari permissions and access controls vulnerabilityApple Safari Beta 3.0.1 for Windows allows remote attackers to execute arbitrary commands via shell metacharacters in a URI in the SRC of an IFRAME, …EPSS 4.9%8.5CVE-2007-3514Apple safari vulnerabilityCross-domain vulnerability in Apple Safari for Windows 3.0.2 allows remote attackers to bypass the Same Origin Policy and access restricted informati…EPSS 1.3%7.8CVE-2007-3482Apple safari cross-site scripting vulnerabilityCross-domain vulnerability in Apple Safari for Windows 3.0.1 allows remote attackers to bypass the "same origin policy" and access restricted informa…EPSS 1.5%7.8CVE-2007-3284Apple safari vulnerabilitycorefoundation.dll in Apple Safari 3.0.1 (552.12.2) for Windows allows remote attackers to cause a denial of service (crash) via certain forms that t…EPSS 3.1%7.8CVE-2007-3185Apple safari vulnerabilityApple Safari Beta 3.0.1 for Windows public beta allows remote attackers to cause a denial of service (crash) via unspecified DHTML manipulations that…EPSS 1.9%

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