http4s: Set-Cookie rendering does not escape attribute delimiters
Affected
| Package | Affected versions | Fixed in |
|---|---|---|
| maven:org.http4s:http4s-core_2.12 | < 0.23.35 | 0.23.35 |
| maven:org.http4s:http4s-core_2.13 | < 0.23.35 | 0.23.35 |
| maven:org.http4s:http4s-core_3 | < 0.23.35 | 0.23.35 |
| maven:org.http4s:http4s-core_2.13 | >= 1.0.0-M2, < 1.0.0-M47 | 1.0.0-M47 |
| maven:org.http4s:http4s-core_3 | >= 1.0.0-M2, < 1.0.0-M47 | 1.0.0-M47 |
ResponseCookie.render writes the cookie name, content, domain, path, and extension fields verbatim, with no sanitization of ; or control characters. An application that places attacker-controlled data into any of these fields lets the attacker inject additional cookie attributes (Domain=, Path=, SameSite=None, etc.) by embedding ; , widening a cookie's scope or downgrading its protections. Impact Cookie attribute injection: scope widening (Domain), SameSite downgrade, or overriding security-rel…
Read on GitHub Advisory Database
On 12/01/2026, 03:09 AM, GitHub Advisory Database published "http4s: Set-Cookie rendering does not escape attribute delimiters" (type: Advisory). Severity is "Medium" (medium). Related technologies: Java. CVE: CVE-2026-69211.