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.
References
Configurations
No configuration.
History
09 Nov 2026, 20:18
| Type | Values Removed | Values Added |
|---|---|---|
| CVSS |
v2 : v3 : |
v2 : unknown
v3 : 9.8 |
04 Nov 2026, 00:17
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-11-04 00:17
Updated : 2026-11-09 20:18
NVD link : CVE-2026-120647
Mitre link : CVE-2026-120647
CVE.ORG link : CVE-2026-120647
JSON object : View
Products Affected
No product.
CWE
CWE-116
Improper Encoding or Escaping of Output
