CVE-2026-120647
Published:November 03, 2026
Updated:November 21, 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.
Affected Packages
https://github.com/leejo/CGI.pm.git (GITHUB):
Affected version(s) >=release-2-67 <v5.01 || =release_2-70 <v5.01 || >=release-2_73 <v5.01 || >=release-2_751 <v5.01 || >=release-1_80 <v5.01 || >=release-3_01 <v5.01 || =version-3_23 <v5.01 || >=v3.51 <v5.01 || >=v4.00 <v5.01 || =4.69 <v5.01Fix Suggestion:
Update to version v5.01Related ResourcesĀ (7)
Do you need more information?
Contact UsCVSS v4
Base Score:
9.3
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
HIGH
Vulnerable System Integrity
HIGH
Vulnerable System Availability
HIGH
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
9.8
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Weakness Type (CWE)
Improper Encoding or Escaping of Output
EPSS
Base Score:
0.61