Skip to content

fix(web): close current dependency security alerts - #50

Merged
AetherAI3 merged 1 commit into
mainfrom
security/close-web-dependabot-alerts-20260812
Aug 12, 2026
Merged

fix(web): close current dependency security alerts#50
AetherAI3 merged 1 commit into
mainfrom
security/close-web-dependabot-alerts-20260812

Conversation

@AetherAI3

Copy link
Copy Markdown
Owner

Alerts addressed

All 10 open Dependabot alerts on apps/web/package-lock.json:

Alert Package Severity Advisory Fixed in
#17 nanoid high GHSA-28wg-ghj8-5hjv (CVE-2026-67214) 3.3.16
#16 nanoid high GHSA-2v37-7h3g-55p8 (CVE-2026-67213) 3.3.17
#15 js-yaml high GHSA-5p4m-2wfm-xmqj 4.3.1
#11 fast-uri high GHSA-7p8r-x3mc-p8w7 (CVE-2026-18446) 3.1.5
#5 undici high GHSA-4cwx-7wf7-3272 (CVE-2026-13697) 7.29.0
#6 undici moderate GHSA-8xcm-r25x-g524 (CVE-2026-16728) 7.29.0
#7 undici moderate GHSA-jr45-8vmc-qm54 (CVE-2026-14643) 7.29.0
#8 undici moderate GHSA-v3r7-h72x-cjcm (CVE-2026-16729) 7.29.0
#9 undici moderate GHSA-m8rv-5g2x-5cg5 (CVE-2026-15157) 7.29.0
#18 postcss moderate GHSA-fxqj-rqcc-2cmp (CVE-2026-69153) 8.5.23

Root dependency paths

  • nanoidpostcss (^3.3.12); postcss itself pinned by the overrides.postcss entry
  • postcss ← pinned by overrides.postcss: 8.5.18 (override exists because next@16.2.11 pins postcss 8.4.31)
  • undiciminiflare (exact pin) ← wrangler / @cloudflare/vite-plugin
  • fast-uriajv@8ajv-formatsschema-utilsterser-webpack-pluginwebpackreact-server-dom-webpack (dev)
  • js-yaml@eslint/eslintrceslint (dev)

Changes

apps/web/package.json:

  • @cloudflare/vite-plugin 1.46.0 → 1.51.3
  • wrangler 4.113.0 → 4.121.0
  • overrides.postcss 8.5.18 → 8.5.26

apps/web/package-lock.json (regenerated via npm, no hand edits):

  • nanoid 3.3.12 → 3.3.18, undici 7.28.0 → 7.29.0, fast-uri 3.1.4 → 3.1.5, js-yaml 4.3.0 → 4.3.1, postcss 8.5.18 → 8.5.26
  • miniflare 4.20260721.0 → 5.20260804.1-alpha, workerd 1.20260721.1 → 1.20260804.1 (pulled by wrangler)
  • brace-expansion → 1.1.18 / 5.0.9 (npm-audit DoS advisories GHSA-mh99-v99m-4gvg, GHSA-rgw5-rvv9-x895 — not yet in the Dependabot alert set)
  • @speed-highlight/core 1.2.17 → 1.2.24 (transitive of wrangler)

Why safe

  • Every stable miniflare 4.x pins vulnerable undici 7.28.0; wrangler ≥4.120.0 ships miniflare with undici 7.29.0. Upgrading the owning parents (wrangler, @cloudflare/vite-plugin) is Cloudflare's supported path — no overrides.undici needed. Same major/minor lines (4.x, 1.x).
  • postcss 8.5.26 is patch-line above the existing override; vite wants ^8.5.17 and next's 8.4.31 pin is exactly what the override was created to supersede. postcss 8.5.26 also requires nanoid ^3.3.17, structurally guaranteeing the nanoid fix.
  • fast-uri, js-yaml, nanoid moved inside their parents' existing semver ranges — no dependency graph shape change.
  • No downgrades, no hand-edited lockfile, no removed overrides, no framework migrations.

Verification

  • npm ci --prefix apps/web from wiped node_modules: 483 packages, clean
  • npm ls nanoid undici fast-uri js-yaml postcss --all: single patched version of each, no vulnerable copies
  • npm run lint: clean
  • npm test (production build + unit + rendered HTML): 25/25 unit tests pass, 3/3 rendered-HTML tests pass
  • node scripts/verify.mjs --section javascript --install: all three JS workspaces install/build/test/lint green (one host-specific Windows-SID tooling test failure unrelated to this change; CI runs ubuntu)

Remaining alerts

None from the target set. npm audit still reports image-size <=2.0.2 (dev-only, via vinext@0.2.1): no patched image-size release exists, and the only audit "fix" is a major downgrade of vinext to 0.0.45 — out of scope for this lane and explicitly forbidden. Not a GitHub Dependabot alert.

Supersedes Dependabot PRs #49 (nanoid), #44 (js-yaml), #43 (fast-uri).

🤖 Generated with Claude Code

Resolve all 10 open GitHub Dependabot alerts on apps/web/package-lock.json:

- nanoid 3.3.12 -> 3.3.18 (alerts #16, #17; GHSA-2v37-7h3g-55p8, GHSA-28wg-ghj8-5hjv)
- undici 7.28.0 -> 7.29.0 (alerts #5-#9) via wrangler 4.113.0 -> 4.121.0
  and @cloudflare/vite-plugin 1.46.0 -> 1.51.3 (miniflare pins undici exactly)
- fast-uri 3.1.4 -> 3.1.5 (alert #11; GHSA-7p8r-x3mc-p8w7)
- js-yaml 4.3.0 -> 4.3.1 (alert #15; GHSA-5p4m-2wfm-xmqj)
- postcss override 8.5.18 -> 8.5.26 (alert #18; GHSA-fxqj-rqcc-2cmp)
- brace-expansion refreshed to 1.1.18 / 5.0.9 (npm audit DoS advisories,
  not yet surfaced as Dependabot alerts)

Lockfile regenerated through npm only; clean npm ci verified.
Web workspace lint, build, 25 unit tests, and 3 rendered-HTML tests pass.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@AetherAI3
AetherAI3 merged commit d1b42fe into main Aug 12, 2026
9 checks passed
@AetherAI3
AetherAI3 deleted the security/close-web-dependabot-alerts-20260812 branch August 12, 2026 10:54
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