CakePHP before 4.0.6 mishandles CSRF token generation.
Priority LOW 20CWE-352Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Tampering, Cross-site scripting
- Confidentiality · integrity · availability
- None · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-352 and CWE-79.
Summary
CakePHP before 4.0.6 mishandles CSRF token generation. This might be remotely exploitable in conjunction with XSS.
Why it matters now
EPSS 0.00446 39th percentileScored 2026-11-07
Fix Fixed cakephp/cakephp (Packagist): 4.0.6, 3.10.3
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | cakephp/cakephp (Packagist) | 4.0.0 to before 4.0.6 | 4.0.6 | Patch available | GHSA-j33j-fg2g-mcv2 |
| — | cakephp/cakephp (Packagist) | before 3.10.3 | 3.10.3 | Patch available | GHSA-j33j-fg2g-mcv2 |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- cakephp/cakephp (Packagist) Vendor— Affected 4.0.0 to before 4.0.6 Fixed in 4.0.6 Patch available GHSA-j33j-fg2g-mcv2
- cakephp/cakephp (Packagist) Vendor— Affected before 3.10.3 Fixed in 3.10.3 Patch available GHSA-j33j-fg2g-mcv2
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:cakefoundation:cakephp:*:*:*:*:*:*:*:* | before 4.0.6 | Vulnerable | Cakefoundation |
- cpe:2.3:a:cakefoundation:cakephp:*:*:*:*:*:*:*:* Versions before 4.0.6 Vulnerable ·Cakefoundation
Remediation
- Fix · GHSA-j33j-fg2g-mcv2 cakephp/cakephp (Packagist) Fixed in 4.0.6 Advisory →
- Fix · GHSA-j33j-fg2g-mcv2 cakephp/cakephp (Packagist) Fixed in 3.10.3 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2020-15400
- 2026-10-03 Alias added: GHSA-j33j-fg2g-mcv2
References
More Cakefoundation Cakephp vulnerabilities
- TI-2010-04068 The _validatePost function in libs/controller/components/security.php in CakePHP 1.3.x… CVSS 2.0HIGH 7.5
- TI-2012-03742 The Xml class in CakePHP 2.1.x before 2.1.5 and 2.2.x before 2.2.1 allows remote… CVSS 3.1HIGH 7.5
Sources
- CVE-2020-15400 · CVE Program
- CVE-2020-15400 · NVD
- FIRST EPSS
- GHSA-j33j-fg2g-mcv2 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences