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.
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.
Metrics
Affected Vendors & Products
Advisories
No advisories yet.
Fixes
Solution
Upgrade to CGI 5.00 or later.
Workaround
No workaround given by the vendor.
References
History
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::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. | |
| Title | CGI::Cookie versions before 5.00 for Perl allow cookie attribute injection via unvalidated path, domain and expires values | |
| Weaknesses | CWE-116 | |
| References |
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: CPANSec
Published:
Updated: 2026-11-03T23:40:51.418Z
Reserved: 2026-11-02T17:42:50.237Z
Link: CVE-2026-120644
No data.
Status : Deferred
Published: 2026-11-04T00:17:25.897
Modified: 2026-11-04T18:42:35.810
Link: CVE-2026-120644
OpenCVE Enrichment
Updated: 2026-11-04T13:45:14Z