Skip to content

fix: upgrade undici to 7.28.0 to resolve npm audit vulnerabilities#21

Draft
Tamsi wants to merge 1 commit into
mainfrom
feature/fix-npm-audit-e5e3
Draft

fix: upgrade undici to 7.28.0 to resolve npm audit vulnerabilities#21
Tamsi wants to merge 1 commit into
mainfrom
feature/fix-npm-audit-e5e3

Conversation

@Tamsi

@Tamsi Tamsi commented Jul 18, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Ran npm audit on ui/ and found 1 high-severity vulnerability in undici (versions 7.0.0–7.27.2)
  • Applied npm audit fix, which bumps undici from 7.27.2 → 7.28.0 (transitive dev dependency via Firebase)
  • npm audit now reports 0 vulnerabilities

Advisories addressed

  • TLS certificate validation bypass via SOCKS5 ProxyAgent
  • HTTP header injection via Set-Cookie percent-decoding
  • WebSocket client DoS via fragment count bypass
  • Cross-origin request routing via SOCKS5 proxy pool reuse
  • HTTP response queue poisoning via keep-alive socket reuse
  • Set-Cookie SameSite attribute downgrade
  • Cross-user information disclosure via shared cache whitespace bypass

Test plan

  • npm audit — 0 vulnerabilities
  • npm test — 162/164 tests pass (2 pre-existing failures unrelated to this change: timezone formatting and Firebase config defaults)
Open in Web Open in Cursor 

Bump undici from 7.27.2 to 7.28.0 (transitive dev dependency via
firebase) to address 7 high-severity advisories (TLS bypass, header
injection, DoS, cache poisoning, and cookie downgrade).

Co-authored-by: Tamsi <Tamsi@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants