CVE-2020-15400 Details
Description
CakePHP before 4.0.6 mishandles CSRF token generation. This might be remotely exploitable in conjunction with XSS.
A vulnerability in CakePHP prior to 4.0.6 has been identified, where the generation of Cross-Site Request Forgery (CSRF) tokens is mishandled. This issue could be remotely exploitable, especially when combined with an existing Cross-Site Scripting (XSS) vulnerability. The root cause lies in the CSRF protection middleware, which failed to properly secure token generation, allowing for potential exploitation of CSRF attacks.
Users can upgrade to CakePHP version 4.0.6 or later, where this vulnerability has been addressed. Instructions for downloading the latest version are available on the CakePHP GitHub releases page.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://bakery.cakephp.org/2020/04/18/cakephp_406_released.html | CVE | Release NotesVendor Advisory |
| https://bakery.cakephp.org/2020/04/18/cakephp_406_released.html | [email protected] | Release NotesVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-352 | Cross-Site Request Forgery (CSRF) | [email protected] |
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| cakefoundation cakephp | < 4.0.6 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Jul 21, 2021 | CWE Remap | [email protected] |
| Jul 7, 2020 | Initial Analysis | [email protected] |