Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.3%top 82%

CVE-2026-43968: CWE-93 Improper Neutralization of CRLF Sequences ('CRLF Injection') in ninenines cowlib

0
Medium
VulnerabilityCVE-2026-43968cvecve-2026-43968cwe-93
Published: 05/11/2026 (05/11/2026, 18:06:42 UTC)
Source: CVE Database V5
Vendor/Project: ninenines
Product: 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

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
Low
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
Low
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:L/SA:N

Affected software

ninenines/cowlib
pkg:hex/ninenines/cowlib
Affected versions
=2.6.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/19/2026, 11:09:27 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses