CVE-2012-4399Cakefoundation Cakephp
High 7.5 No auth neededHigh EPSS
Follow: this CVE · Cakefoundation · Cakefoundation Cakephp We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Cakephp.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| cakefoundation | cakephp | ≥ 2.1.0 < 2.1.5 |
| cakefoundation | cakephp | ≥ 2.2.0 < 2.2.1 |
Official sources
References
Links published by the sources. Open them with care.
- bakery.cakephp.org Broken Link Vendor Advisory
- seclists.org Exploit Mailing List Third Party Advisory
- secunia.com Broken Link Vendor Advisory
- www.exploit-db.com Exploit Third Party Advisory VDB Entry
- www.openwall.com Mailing List
- www.openwall.com Mailing List
- www.osvdb.org Broken Link