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.
Project Subscriptions
No data.
No advisories yet.
Solution
Upgrade to CGI 5.00 or later.
Workaround
No workaround given by the vendor.
Tue, 10 Nov 2026 21:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
Mon, 09 Nov 2026 20:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
cvssV3_1
|
cvssV3_1
|
Wed, 04 Nov 2026 12:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Weaknesses | CWE-140 | |
| References |
| |
| Metrics |
threat_severity
|
cvssV3_1
|
Wed, 04 Nov 2026 00:00:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Description | 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. | |
| Title | CGI versions before 5.00 for Perl allow Content-Disposition parameter injection via unescaped double quotes in the header attachment filename | |
| Weaknesses | CWE-116 | |
| References |
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: CPANSec
Published:
Updated: 2026-11-09T19:37:55.900Z
Reserved: 2026-11-02T17:45:23.639Z
Link: CVE-2026-120647
Updated: 2026-11-09T19:37:51.291Z
Status : Deferred
Published: 2026-11-04T00:17:26.260
Modified: 2026-11-09T20:18:06.963
Link: CVE-2026-120647
OpenCVE Enrichment
Updated: 2026-11-10T00:00:14Z