Home / MANWAR / CGI::Simple / CVE-2025-40927
CVE-2025-40927: is it exploited, and which versions of MANWAR CGI::Simple are affected and fixed?
CVE-2025-40927 is a HTTP response splitting vulnerability in MANWAR CGI::Simple. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 12:08 UTC). Affected: CGI::Simple before 1.282 (CVE record by CPANSec). Fixed in 1.282 (CVE record by CPANSec). Severity: High (7.3, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 12:08 UTC, CVE record November 19, 2026, 07:09 UTC and NVD November 19, 2026, 07:17 UTC.
What is CVE-2025-40927?
CGI::Simple versions 1.281 and earlier for Perl has a HTTP response splitting flaw
CGI::Simple versions before 1.282 for Perl has a HTTP response splitting flaw This vulnerability is a confirmed HTTP response splitting flaw in CGI::Simple that allows HTTP response header injection, which can be used for reflected XSS or open redirect under certain conditions. Although some validation exists, it can be bypassed using URL-encoded values, allowing an attacker to inject untrusted content into the response via query parameters. As a result, an attacker can inject a line break (e.g. %0A) into the parameter value, causing the server to split the HTTP response and inject arbitrary headers or even an HTML/JavaScript body, leading to reflected cross-site scripting (XSS), open redirect or other attacks. The issue documented in CVE-2010-4410 https://www.cve.org/CVERecord?id=CVE-2010-4410 is related but the fix was incomplete. Impact By injecting %0A (newline) into a query string parameter, an attacker can: * Break the current HTTP header * Inject a new header or entire body * Deliver a script payload that is reflected in the server’s response That can lead to the following attacks: * reflected XSS * open redirect * cache poisoning * header manipulation
From the CVE record by CPANSec, last updated August 29, 2025, 13:18 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| MANWAR | CGI::Simple CGI-Simple | before 1.282 | 1.282 |
As the CVE record by CPANSec states it, last updated August 29, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
How severe is CVE-2025-40927?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.3 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L | CISA-ADP |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-40927 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, August 29, 2025)
- EPSS
- 0.53% probability of exploitation activity in the next 30 days, percentile 46.6 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-113 Improper Neutralization of CRLF Sequences in HTTP Headers
How do I fix it? (from the CVE record)
Upgrade CGI::Simple to version 1.282 or higher
Where are the vendor advisories and references?
- https://metacpan.org/release/MANWAR/CGI-Simple-1.281/source/lib/CGI/Simple.pm#L1031-1035 related
- https://metacpan.org/release/MANWAR/CGI-Simple-1.281/diff/MANWAR/CGI-Simple-1.282/lib/CGI/Simple.pm related
- https://owasp.org/www-community/attacks/HTTP_Response_Splitting technical-description
- https://datatracker.ietf.org/doc/html/rfc7230#section-3 technical-description
- https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2004-2320 related
- https://rt.perl.org/Public/Bug/Display.html?id=21951 related
Who found and reported it?
- Maxim Kosenko (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- April 16, 2025
- Published
- August 29, 2025, 00:10 UTC
- CVE record updated
- August 29, 2025, 13:18 UTC by CPANSec
- NVD
- Deferred, last modified October 18, 2026, 21:10 UTC
- Last checked
- CVE list November 19, 2026, 07:09 UTC; NVD November 19, 2026, 07:17 UTC; KEV December 3, 2026, 12:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
Questions about CVE-2025-40927
Is CVE-2025-40927 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 12:08 UTC. FIRST's EPSS gives it a 0.53% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of MANWAR CGI::Simple are affected by CVE-2025-40927?
CGI::Simple before 1.282, per the CVE record by CPANSec. The tables above give every range the sources list.
Which version fixes CVE-2025-40927?
1.282, per the CVE record by CPANSec. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-40927?
High (7.3, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2025-40927?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.