Technical impact
The vulnerability in CGI::Cookie allows injection of arbitrary cookie attributes because the library writes the path, domain, and expires values directly into the Set‑Cookie header without validating for semicolons or control characters. This omission lets an attacker supply crafted values that add new attributes such as Domain or SameSite, potentially altering client‑side cookie behavior and subverting browser security controls.
Affected Systems
Perl applications that depend on CGI::Cookie versions earlier than 5.00 are affected. Any web application that uses this library and assigns the path, domain, or expires values from request data without prior sanitization can be exploited. The vendor notes the issue for the LEEJO/CGI library and provides a patch in the 5.00 release cycle.
Risk and Exploitability
The flaw does not provide remote code execution or privilege escalation; it only permits manipulation of cookie attributes. Exploitation requires the attacker to control the values sent to the cookie attributes, which is possible if the application reflects request data into these fields. The CVSS score is 9.1, the EPSS score is < 1%, and the vulnerability is not listed in CISA’s KEV, so the likelihood of exploitation is unknown but could be achieved with sufficient application misconfigurations.