CVE-2026-120647
Severity not reportedCGI versions before 5.00 for Perl allow Content-Disposition parameter injection via unescaped double quotes in the header attachment filename.
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.
Affected products
Not reported by the source (unknown — not "none").
Weakness classification (CWE)
Source: NVD / CISA. “NVD-CWE-Other” and “NVD-CWE-noinfo” mean NVD could not assign a specific weakness.
Mitigation & advisories
No vendor advisory or patch reference tagged by NVD. Check the references below.
References
- https://github.com/leejo/CGI.pm/commit/131280a5c5bc51b65797bd57ef0ee8da8468065b.patch 9b29abf9-4ab0-4765-b253-1875cd9b441e
- https://metacpan.org/release/LEEJO/CGI-4.72/source/lib/CGI.pm 9b29abf9-4ab0-4765-b253-1875cd9b441e
- https://metacpan.org/release/LEEJO/CGI-5.00/changes 9b29abf9-4ab0-4765-b253-1875cd9b441e

