{"id":"CVE-2026-120647","title":"CGI versions before 5.00 for Perl allow Content-Disposition parameter injection via unescaped double quotes in the header attachment filename","summary":"CGI versions before 5.00 for Perl allow Content-Disposition parameter injection via unescaped double quotes in the header attachment filename.\n\nheader(-attachment => $name) writes $name into the quoted filename parameter of Content-Dispo…","severity":"none","cwe":["CWE-116"],"product":"CGI","affected":["CGI < 5.00"],"published":"2026-11-03","updated":"2026-11-03","sourceUpdated":"2026-11-03T23:41:05.454Z","source":"CVEORG","sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-120647","references":[{"url":"https://metacpan.org/release/LEEJO/CGI-4.72/source/lib/CGI.pm"},{"url":"https://metacpan.org/release/LEEJO/CGI-5.00/changes"},{"url":"https://github.com/leejo/CGI.pm/commit/131280a5c5bc51b65797bd57ef0ee8da8468065b.patch"}],"tags":["cve.org"],"epss":0.00205,"epssPercentile":0.10632,"ingestedAt":"2026-11-05T20:33:06.618Z","slug":"CVE-2026-120647","body":"## Overview\n\nCGI versions before 5.00 for Perl allow Content-Disposition parameter injection via unescaped double quotes in the header attachment filename.\n\nheader(-attachment => $name) writes $name into the quoted filename parameter of Content-Disposition without escaping double quotes.\n\nAn 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.\n\n## Affected\n\n- `CGI < 5.00`\n\n## Remediation\n\nUpgrade to CGI 5.00 or later.","depth":"sunlit","depthScore":3,"depthScoreParts":{"impact":2.8,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}