CVE-2012-4399

Description

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.

Severity
HIGH
CVSS v3
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N · source nvd
Exploit chance (EPSS)
12.091%
chance of exploitation in the next 30 days
higher than 96.2% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 2
Metasploit modules: 0
Nuclei templates: 0
Exploit-DB: 1

Weakness

Timeline

  1. 2012-07-16First Exploit-DB entry (EDB-ID 19863)85 days before publication
  2. 2012-10-09Published by the CNA23:00 UTC
  3. 2022-05-17GitHub advisory published (GHSA-5964-pq8r-4q62)3507 days after publication

The timeline shows what already happened. To be told when this CVE changes next, watch it from the API.

Exploit and advisory records

Exploit-DBTypePlatformPublishedEDB-verified
EDB-ID 19863webappsphp2012-07-16yes

GitHub advisory GHSA-5964-pq8r-4q62, affected packages:

EcosystemPackageVulnerable rangePatched
Packagistcakephp/cakephp>= 2.1.0-alpha, < 2.1.52.1.5
Packagistcakephp/cakephp>= 2.2.0-beta, < 2.2.12.2.1

Affected products

VendorProduct
cakefoundationcakephp

References

Get more CVE data from the API.

Free without a key or signup. Pro adds monitoring and higher limits: pricing.

Sources