Vulnerabilityin the cakephp/cakephp package.
Proof of concept public (Exploit-DB).
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.
- Upgrade cakephp/cakephp (Packagist) to 2.1.5, 2.2.1 or later, whichever matches your release line.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 21 Aug 2012CVE ID reserved by redhat.
- 9 Oct 2012Published in the CVE List.
- 16 Sep 2024CVE record last updated.
Attack code anyone can find
Exploit maturity: Proof of concept (Exploit-DB).
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Other vulnerabilities in this package
- secunia.com third-party-advisory, x_refsource_SECUNIA
- seclists.org mailing-list, x_refsource_BUGTRAQ
- bakery.cakephp.org x_refsource_CONFIRM
- www.osvdb.org vdb-entry, x_refsource_OSVDB
- www.openwall.com mailing-list, x_refsource_MLIST
- www.openwall.com mailing-list, x_refsource_MLIST
Patchminder. CVE-2012-4399: Vulnerability in the cakephp/cakephp package. https://patchminder.com/cve/cve-2012-4399/ (accessed 5 December 2026).