CVE-2012-4399
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…
- Published
- Updated
- Reserved
- Assigned by
- redhat
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.
Public exploit
A reference of the record is tagged as an exploit or proof of concept: anyone can try it against an unpatched system.
- 19863 (opens in a new tab)exploitx_refsource_EXPLOIT-DBx_transferred
Timeline
ID reserved
By redhat
- 49 days later
· 49 days later
Published
- 12 years later
· 12 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | High7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
- EPSS (exploitation in 30 days)
- 12.1% · top 3.8% of all CVEs (8 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.5.
Weakness
Affected products
n/a
- affected n/a
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Packagistcakephp/cakephpGHSA-5964-pq8r-4q62 (opens in a new tab)
References (7)
- 49900 (opens in a new tab)third-party-advisoryx_refsource_SECUNIAx_transferred
- 20120716 CakePHP 2.x-2.2.0-RC2 XXE Injection (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
- http://bakery.cakephp.org/articles/markstory/2012/07/14/security_release_-_cakephp_2_1_5_2_2_1 (opens in a new tab)x_refsource_CONFIRMx_transferred
- 19863 (opens in a new tab)exploitx_refsource_EXPLOIT-DBx_transferred
- 84042 (opens in a new tab)vdb-entryx_refsource_OSVDBx_transferred
- [oss-security] 20120903 CVE-request: CakePHP XXE injection (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- [oss-security] 20120903 Re: CVE-request: CakePHP XXE injection (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-5964-pq8r-4q62 (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2012-4399)Record last updated .