CVE-2026-106512 CakePHP CakeResponse - Stored XSS

CakePHP CakeResponse::download() contains a stored cross-site scripting vulnerability caused by unsanitized filename interpolation in Content-Disposition header, letting authenticated users inject scripts via crafted filenames, exploit requires authenticated user to upload or create attachments with malicious filenames.

CVSS base score 8.4 /10
High
CISA KEV
Not listed
Public exploit
None known
Authentication
Required
EPSS
0.33% chance of exploitation in 30 days
View the NVD record ↗

Details

Type
Stored XSS
Impact
Stored XSS
CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:H/VA:N/SC:H/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Published
6 October 2026
Updated
15 October 2026
Weakness
CWE-20

Vendor fix

Update to the latest CakePHP version with patched CakeResponse::download() method.

Patching closes this CVE. It does not tell you which of your systems run the affected version, or what else is exposed alongside them.

References

← All CVEs