cvelo
P3 · MediumCVSS 6.3EPSS 0.6%

Effect: Cookie attribute injection via domain, path, and name fields in @effect/platform makeCookie()

  • CVE-2026-115779
  • GHSA-chp3-j5qr-2vfr

Description

Effect is a TypeScript framework that consists of several packages that work together to help build TypeScript applications. From @effect/platform 0.1.0 until 0.97.1 and effect 4.0.0-beta.0 until 4.0.0-beta.103, the name, domain, and path fields passed to makeCookie() allow semicolon delimiters that serializeCookie() writes verbatim into Set-Cookie headers. A caller that supplies attacker-controlled values can append cookie attributes, including a broader Domain or, when the caller has not set those options itself, SameSite=None or Max-Age. Encoded cookie values and CR or LF characters remain unaffected. This can widen a cookie's scope or add otherwise-unset cookie attributes. This issue is fixed in @effect/platform 0.97.1 and effect 4.0.0-beta.103.

Text from the CVE.org record.

Affected

  • @effect platform

    • >= 0.1.0, < 0.97.1
  • Effect-TS effect

    • >= 4.0.0-beta.0, < 4.0.0-beta.103
  • @effect/platformnpm

    • from 0.1.0, fixed in 0.97.1
  • effectnpm

    • from 4.0.0-beta.0, fixed in 4.0.0-beta.103

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.