CVE-2026-120647
CGI versions before 5.00 for Perl allow Content-Disposition parameter injection via unescaped double quotes in the header attachment filename
- Severity
- critical CVSS 9.8 (v3.1)
- Weakness
- CWE-116 Improper Encoding or Escaping of Output
- Published
- 3 November 2026 by CPANSec
- First seen on our lists
- 4 November 2026
CGI versions before 5.00 for Perl allow Content-Disposition parameter injection via unescaped double quotes in the header attachment filename.
header(-attachment => $name) writes $name into the quoted filename parameter of Content-Disposition without escaping double quotes.
An application that passes request data as the attachment name can be made to send a second filename parameter, changing the name the response is saved under.
Our coverage
We have not written about this one. Know why it matters? Send a tip.
On the lists
- [oss-security] CGI versions before 5.00 for Perl (20 CVEs)