CVE-2012-4399: CakePHPallows remote attackers to read arbitrary files via XML data containing external entity references

high Affects cakephp/cakephp. Feed 2026.10.28.3, updated 2026-10-28; published ; advisory modified .

CakePHPallows remote attackers to read arbitrary files via XML data containing external entity references

Package
cakephp/cakephp Composer
Affected versions
>=2.1.0-alpha and <2.1.5 or >=2.2.0-beta and <2.2.1
Fixed in
2.1.5, 2.2.1
Severity
high  CVSS 7.5
Exploitation
not on CISA KEV · EPSS 12% (96.1th percentile)
Published
2022-05-17
Source
osv.dev

References

CWE-611
NVD recordcakephp/cakephp advisories

Am I affected?

Find out in one command. phpwarden checks your composer.lock against this advisory and 20,000+ others, ranked by real-world exploitation (CISA KEV + EPSS). Free, offline, open data.

# one-time install
pip install phpwarden

# then
phpwarden deps composer.lock

Or keep it checked automatically: GitHub Action · pre-commit hook · GitLab CI · Laravel artisan command

Install docs   How findings are ranked

Related advisories