---
title: "CVE-2026-106512: CakePHP CakeResponse - Stored XSS"
description: "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."
url: https://panop.io/threat-heartbeat/CVE-2026-106512/
---

# 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 ↗](https://nvd.nist.gov/vuln/detail/CVE-2026-106512)

## 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](https://cwe.mitre.org/data/definitions/20.html)

## 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

- [https://nvd.nist.gov/vuln/detail/CVE-2026-106512](https://nvd.nist.gov/vuln/detail/CVE-2026-106512)
- [https://github.com/MISP/sachertortephp/commit/e2c80021729611922817a57d2317b2ffa7ed1439](https://github.com/MISP/sachertortephp/commit/e2c80021729611922817a57d2317b2ffa7ed1439)
- [https://github.com/MISP/sachertortephp/commit/afbc551aa6b8aedb87dfa1223a388e9a3178abfd](https://github.com/MISP/sachertortephp/commit/afbc551aa6b8aedb87dfa1223a388e9a3178abfd)

[← All CVEs](https://panop.io/threat-heartbeat/)

## What this record can't tell you

- Whether you run the affected software, and where
- Whether an attacker can actually reach and exploit it
- The misconfigurations that never get a CVE number
- What it would cost the business, ranked into what to fix first

Panop answers these inside your environment, for this CVE and every other finding.

[Book a demo](https://panop.io/demo)
