CVE-2026-120644
Dashboard / Vulnerabilities / CVE-2026-120644
Summary: CGI::Cookie versions before 5.00 for Perl allow cookie attribute injection via unvalidated path, domain and expires values
Details: CGI::Cookie versions before 5.00 for Perl allow cookie attribute injection via unvalidated path, domain and expires values. The path, domain and expires values are written into the Set-Cookie header without checking for semicolons or control characters. An application that sets them from request data can be made to add other cookie attributes, such as Domain or SameSite.
References: https://cpan.org/modules, https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/120xxx/CVE-2026-120644.json, https://metacpan.org/release/LEEJO/CGI-5.00/changes, https://nvd.nist.gov/vuln/detail/CVE-2026-120644, https://github.com/leejo/CGI.pm/commit/0b3527faaa9de55f79ca7d59dd3bcfb2c5540e00.patch, https://github.com/leejo/CGI.pm, https://metacpan.org/release/LEEJO/CGI-4.72/source/lib/CGI/Cookie.pm
Affected packages
Package
Name:
Purl:
