CVE-2026-43968: CWE-93 Improper Neutralization of CRLF Sequences ('CRLF Injection') in ninenines cowlib
CVE-2026-43968 is a CRLF injection vulnerability in ninenines cowlib versions from 2.6.0 before 2.16.1. It arises because the library improperly neutralizes carriage return (\r) characters in Server-Sent Events (SSE) fields, allowing attackers to inject additional SSE lines. This can lead to event splitting and injection, enabling manipulation of client-side logic and potentially stored-XSS-like behavior when event data is rendered in browsers. The vulnerability has a CVSS 4.0 score of 6.3, indicating medium severity.
AI Analysis
Technical Summary
The vulnerability in cowlib's cow_sse:event/1 function stems from inadequate filtering of carriage return characters in SSE event fields such as id and event. While newline characters (\n) are guarded against, bare carriage returns (\r) are not, and the internal prefix_lines/2 function only splits on \n. Since SSE decoders treat \r\n, \r, and \n equivalently as line terminators, an attacker controlling these fields can inject additional SSE lines, forging complete events with arbitrary types and data. This enables event splitting and injection attacks, potentially leading to client-side logic manipulation and stored-XSS-equivalent impacts in typical browser EventSource clients. The issue affects cowlib versions from 2.6.0 up to but not including 2.16.1.
Potential Impact
Successful exploitation allows an attacker to inject arbitrary SSE events, which can manipulate client-side event handling logic and cause stored cross-site scripting (XSS)-equivalent effects when event data is inserted into the DOM. This can compromise the integrity of client-side applications relying on SSE from cowlib, potentially leading to unauthorized script execution in users' browsers.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch link is provided in the available data. Users should monitor the ninenines project for updates addressing this vulnerability. Until a patch is available, consider implementing input validation or sanitization on fields used in SSE events to block carriage return characters or other control characters that could enable injection.
CVE-2026-43968: CWE-93 Improper Neutralization of CRLF Sequences ('CRLF Injection') in ninenines cowlib
Description
CVE-2026-43968 is a CRLF injection vulnerability in ninenines cowlib versions from 2.6.0 before 2.16.1. It arises because the library improperly neutralizes carriage return (\r) characters in Server-Sent Events (SSE) fields, allowing attackers to inject additional SSE lines. This can lead to event splitting and injection, enabling manipulation of client-side logic and potentially stored-XSS-like behavior when event data is rendered in browsers. The vulnerability has a CVSS 4.0 score of 6.3, indicating medium severity.
CVSS v4.0
Score 6.3medium
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 cowlib's cow_sse:event/1 function stems from inadequate filtering of carriage return characters in SSE event fields such as id and event. While newline characters (\n) are guarded against, bare carriage returns (\r) are not, and the internal prefix_lines/2 function only splits on \n. Since SSE decoders treat \r\n, \r, and \n equivalently as line terminators, an attacker controlling these fields can inject additional SSE lines, forging complete events with arbitrary types and data. This enables event splitting and injection attacks, potentially leading to client-side logic manipulation and stored-XSS-equivalent impacts in typical browser EventSource clients. The issue affects cowlib versions from 2.6.0 up to but not including 2.16.1.
Potential Impact
Successful exploitation allows an attacker to inject arbitrary SSE events, which can manipulate client-side event handling logic and cause stored cross-site scripting (XSS)-equivalent effects when event data is inserted into the DOM. This can compromise the integrity of client-side applications relying on SSE from cowlib, potentially leading to unauthorized script execution in users' browsers.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. No official fix or patch link is provided in the available data. Users should monitor the ninenines project for updates addressing this vulnerability. Until a patch is available, consider implementing input validation or sanitization on fields used in SSE events to block carriage return characters or other control characters that could enable injection.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- EEF
- Date Reserved
- 2026-05-04T18:23:25.573Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a022c3bcbff5d86104f7daa
Added to database: 05/11/2026, 19:21:31 UTC
Last enriched: 05/19/2026, 11:09:27 UTC
Last updated: 07/31/2026, 19:22:59 UTC
Views: 103
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.