Security mailing lists by PureSourceCode

CVE-2026-43968

MEDIUM 6.3CVSS 4.0

CR Injection in SSE Encoder Enables Event Splitting via cow_sse:event/1

Improper Neutralization of CRLF Sequences ('CRLF Injection') vulnerability in ninenines cowlib allows SSE event splitting and injection via unvalidated field values.

cow_sse:event/1 in cowlib guards the id and event fields against \n but not against bare \r, and the internal prefix_lines/2 function used for data and comment fields splits only on \n. Because the SSE specification requires decoders to treat \r\n, \r, and \n as equivalent line terminators, an attacker who controls any of these fields can inject additional SSE lines and forge a complete event with an arbitrary event type and data payload on the receiving end. In typical deployments where browser EventSource clients or other SSE consumers dispatch on event.type and render event.data, this enables event splitting, client-side logic manipulation, and stored-XSS-equivalent behaviour when event data is inserted into the DOM.

This issue affects cowlib: from 2.5.0 before 2.16.1.

Published
11 May 2026
Last modified
25 Nov 2026
Assigned by
6b3ad84c-e1a6-4bf7-a703-f496b71e49db
NVD status
Modified
Weakness
CWE-93
Also known as
EEF-CVE-2026-43968GHSA-hv23-4qp7-8c8r
Sources
NVDJSONCVE ListJSONOSV EEF-CVE-2026-43968JSONOSV GHSA-hv23-4qp7-8c8rJSON

Scores

SourceScored byVersionScoreVector / decision
NVD 6b3ad84c-e1a6-4bf7-a703-f496b71e49db (Secondary) CVSS 4.0 MEDIUM 6.3 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
CVE List EEF CVSS 4.0 MEDIUM 6.3 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
OSV GitHub CVSS 4.0 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
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 4.0 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:N
OSV GitHub CVSS 3.1 MEDIUM 4.0 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:L/A:N
CVE List CISA-ADP SSVC Exploitation: none; Automatable: no; Technical Impact: partial

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD ninenines cowlib
cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*
>= 2.6.0, < 2.16.1 2.16.1
CVE List https://repo.hex.pm cowlib
cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*
>= 2.5.0, < 2.16.1 2.16.1
CVE List https://github.com ninenines/cowlib
cpe:2.3:a:ninenines:cowlib:*:*:*:*:*:*:*:*
>= 93b2b897cde238506c803faad4d1602d79dba7c9, < 6165fc40efa159ba1cceee7e7981e790acba5d9c 6165fc40efa159ba1cceee7e7981e790acba5d9c
OSV Hex cowlib >= 2.5.0, < 2.16.1 2.16.1
OSV Hex cowlib >= 2.6.0, < 2.16.1 2.16.1

References

History

  • 25 Nov 2026 20:32 UTC · CVE List: first stored (published 11 May 2026)
  • 25 Nov 2026 20:15 UTC · OSV: first stored (published 11 May 2026)
  • 25 Nov 2026 20:15 UTC · OSV: first stored (published 11 May 2026)
  • 25 Nov 2026 20:10 UTC · NVD: first stored (published 11 May 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.