CVE-2026-93711: CWE-113 Improper Neutralization of CRLF Sequences in HTTP Headers ('HTTP Request/Response Splitting')
Dancer2 versions before 2.2.0 for Perl do not strip CR and LF from response header names in headers_to_array. The routine removes CR and LF from each header value but not from the name. A name carrying them therefore reaches the PSGI server intact. A server that does not validate keys writes it to the wire, so the bytes after the CRLF arrive as their own header line. The application has to derive the header name from request data, not just the value. An attacker who controls that data adds their own headers and splits the response.
AI Analysis
Technical Summary
The vulnerability in Dancer2 (versions <2.2.0) arises because the headers_to_array routine removes CR and LF characters from header values but not from header names. Consequently, malicious header names containing CRLF sequences reach the PSGI server unaltered. If the server does not validate header keys, these sequences cause the server to write additional headers to the HTTP response, enabling an attacker to inject arbitrary headers by manipulating request data used to derive header names.
Potential Impact
An attacker who can control the header name in the HTTP response can inject additional headers by exploiting the improper neutralization of CRLF sequences. This can lead to HTTP response splitting, potentially allowing header injection attacks, cache poisoning, cross-site scripting, or other downstream impacts depending on how the injected headers are processed by clients or intermediaries.
Mitigation Recommendations
Upgrade Dancer2 to version 2.2.0 or later, where this issue is fixed by properly stripping CR and LF characters from header names. Until then, ensure that header names derived from request data are validated and sanitized to prevent CRLF injection. No official patch link is provided, so consult the Dancer2 project or CPAN for the fixed version.
CVE-2026-93711: CWE-113 Improper Neutralization of CRLF Sequences in HTTP Headers ('HTTP Request/Response Splitting')
Description
Dancer2 versions before 2.2.0 for Perl do not strip CR and LF from response header names in headers_to_array. The routine removes CR and LF from each header value but not from the name. A name carrying them therefore reaches the PSGI server intact. A server that does not validate keys writes it to the wire, so the bytes after the CRLF arrive as their own header line. The application has to derive the header name from request data, not just the value. An attacker who controls that data adds their own headers and splits the response.
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in Dancer2 (versions <2.2.0) arises because the headers_to_array routine removes CR and LF characters from header values but not from header names. Consequently, malicious header names containing CRLF sequences reach the PSGI server unaltered. If the server does not validate header keys, these sequences cause the server to write additional headers to the HTTP response, enabling an attacker to inject arbitrary headers by manipulating request data used to derive header names.
Potential Impact
An attacker who can control the header name in the HTTP response can inject additional headers by exploiting the improper neutralization of CRLF sequences. This can lead to HTTP response splitting, potentially allowing header injection attacks, cache poisoning, cross-site scripting, or other downstream impacts depending on how the injected headers are processed by clients or intermediaries.
Mitigation Recommendations
Upgrade Dancer2 to version 2.2.0 or later, where this issue is fixed by properly stripping CR and LF characters from header names. Until then, ensure that header names derived from request data are validated and sanitized to prevent CRLF injection. No official patch link is provided, so consult the Dancer2 project or CPAN for the fixed version.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- CPANSec
- Date Reserved
- 2026-09-18T15:06:50.792Z
- State
- PUBLISHED
Threat ID: 6ab1d39c55bf5e2cf5ca3a33
Added to database: 09/22/2026, 01:02:20 UTC
Last enriched: 09/22/2026, 01:16:44 UTC
Last updated: 09/22/2026, 01:32:46 UTC
Views: 4
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.