Skip to content

Fix npm audit vulnerabilities in theme dependencies#285

Merged
conatus merged 2 commits into
mainfrom
fix/theme-npm-audit
Jun 10, 2026
Merged

Fix npm audit vulnerabilities in theme dependencies#285
conatus merged 2 commits into
mainfrom
fix/theme-npm-audit

Conversation

@conatus

@conatus conatus commented Jun 9, 2026

Copy link
Copy Markdown
Member

Clears all 6 open Dependabot alerts plus the remaining npm audit findings in the theme (11 total: 1 critical, 3 high, 7 moderate).

What

  • npm audit fix bumps the transitive deps flagged by Dependabot: shell-quote (critical, GHSA-w7jw-789q-3m8p), fast-uri ×2 (high), flatted (high), picomatch and ws (moderate). Lock-file-only change.
  • Adds an npm overrides entry forcing uuid to ^11.1.1. sockjs (via webpack-dev-server) pins uuid 8.x, and npm's suggested "fix" is a downgrade to webpack-dev-server 1.x — not sensible. sockjs only uses uuid.v4, whose API is unchanged in v11.

Verification

  • npm audit reports 0 vulnerabilities
  • npm run build compiles cleanly (webpack 5.107.2)
  • npm run dev boots webpack-dev-server with the uuid override
  • composer lint and composer test pass

conatus added 2 commits June 9, 2026 19:46
npm audit fix bumps transitive deps flagged by Dependabot: shell-quote
(critical), fast-uri and flatted (high), picomatch and ws (moderate).
sockjs (via webpack-dev-server) pins uuid 8.x, which has a buffer
bounds-check advisory. npm's suggested fix downgrades webpack-dev-server
to 1.x, so force uuid 11.1.1 instead; sockjs only uses uuid.v4, which is
unchanged. Dev server verified to boot with the override.
@conatus conatus merged commit 783af49 into main Jun 10, 2026
5 checks passed
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.

1 participant