Live threats

All CVEs / Cakefoundation

CVE-2012-4399Cakefoundation Cakephp

High 7.5 No auth neededHigh EPSS

Priority
61
CVSS 3.1
7.5
EPSS
12.1%
probability of exploitation in 30 days · percentile 97
Auth required
No
Published
Oct 9, 2012
Updated
Jun 16, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-611
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

What happens

The Xml class in CakePHP 2.1.x before 2.1.5 and 2.2.x before 2.2.1 allows remote attackers to read arbitrary files via XML data containing external entity references, aka an XML external entity (XXE) injection attack.

Original NVD text.

What to do

  1. Apply the vendor's security update for Cakephp.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist cakephp/cakephp ≥ 2.1.0-alpha < 2.1.5 2.1.5 composer require "cakephp/cakephp:^2.1.5"
Packagist cakephp/cakephp ≥ 2.2.0-beta < 2.2.1 2.2.1 composer require "cakephp/cakephp:^2.2.1"

Per OSV / GitHub Advisories (GHSA-5964-pq8r-4q62). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
cakefoundationcakephp≥ 2.1.0 < 2.1.5
cakefoundationcakephp≥ 2.2.0 < 2.2.1

Official sources

References

Links published by the sources. Open them with care.