Packages

undici

8.12.4 · 5 Nov 2026MIT355.3M / weekRepositoryHomepagenpmAtom feed

Upgrading undici From 6.27.0 to 6.28.0

1 release in betweenevery note read

Other targets from 6.27.0Newest 6.x, Clears its 11 advisories6.29.1Latest8.12.4
  1. 6.27.0yours
  2. 6.28.0target
0
changes to make
3
advisories fixed
0
new
0
fixes

Security

  • GHSA-m8rv-5g2x-5cg5: a malicious type property on a duck-typed blob-like HTTP/1.1 request body could inject CRLF sequences into the generated content-type header. Undici now coerces and validates the value before adding it to the request. Fixed by 740a0b7c.

    6.28.0
  • GHSA-8xcm-r25x-g524: the retry interceptor could expose a stale Content-Length after resuming a partial response, potentially causing downstream response desynchronization, hangs, or corruption. Undici now rejects partial responses whose Content-Length is inconsistent with Content-Range. Fixed by cba3a52a, with corrected fixtures in 4fd5a0c6.

    6.28.0
  • GHSA-v3r7-h72x-cjcm: unsanitized domain and unparsed values passed to setCookie() could inject cookie attributes. Undici now validates cookie domains, paths, and unparsed attributes more strictly. Fixed by af748404.

    6.28.0
  • GHSA-4cwx-7wf7-3272 and GHSA-jr45-8vmc-qm54 affect the cache interceptor in Undici v7 and v8; Undici v6 is not in their affected version ranges.

    6.28.0

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.