Skip to content

Resolve 7 Dependabot vulnerabilities (postcss, ip-address, vite)#11

Merged
JSv4 merged 1 commit into
mainfrom
fix/dependabot-vulnerabilities
May 7, 2026
Merged

Resolve 7 Dependabot vulnerabilities (postcss, ip-address, vite)#11
JSv4 merged 1 commit into
mainfrom
fix/dependabot-vulnerabilities

Conversation

@JSv4
Copy link
Copy Markdown
Contributor

@JSv4 JSv4 commented May 7, 2026

Summary

Closes 7 open Dependabot alerts on main by adding entries to the root resolutions field in package.json, forcing transitive deps to patched versions.

# Package Severity GHSA Was Now
10 postcss medium GHSA-qx2v-qp2m-jg93 8.4.49 / 8.5.8 8.5.14
9 ip-address medium GHSA-v2v4-37r5-5v8g 10.1.0 10.2.0
7 vite (v6) medium GHSA-4w7w-66w2-5vf9 6.4.1 6.4.2
6 vite (v6) high GHSA-p9ff-h696-f583 6.4.1 6.4.2
5 vite (v7) high GHSA-p9ff-h696-f583 7.3.1 7.3.2
4 vite (v7) medium GHSA-4w7w-66w2-5vf9 7.3.1 7.3.2
3 vite (v7) high GHSA-v2wj-q39q-566r 7.3.1 7.3.2

Approach

Used yarn resolutions rather than bumping direct deps, since all vulnerable versions are pulled in transitively (postcss via styled-components/vite, ip-address via socks, vite via vitest and the caml-react devDep). Both vite v6 (caml-react) and vite v7 (vitest) lines are kept, each pinned to its patched version — no major bumps needed.

Test plan

  • yarn install resolves cleanly with no lockfile drift after second run
  • yarn build (both packages compile)
  • yarn test — 103/103 vitest pass
  • yarn test:ct in caml-react — 35/35 playwright CT pass

Pins transitive deps to patched versions:
- postcss ^8.5.10 (GHSA-qx2v-qp2m-jg93, XSS via unescaped </style>)
- ip-address ^10.1.1 (GHSA-v2v4-37r5-5v8g, XSS in Address6 HTML methods)
- vite ^6.4.2 (GHSA-p9ff-h696-f583, GHSA-4w7w-66w2-5vf9)
- vite ^7.3.2 (GHSA-p9ff-h696-f583, GHSA-4w7w-66w2-5vf9, GHSA-v2wj-q39q-566r)

Lockfile resolves to postcss 8.5.14, ip-address 10.2.0, vite 6.4.2,
vite 7.3.2. Build, vitest (103/103), and playwright CT (35/35) all pass.
@JSv4 JSv4 merged commit 6c317b2 into main May 7, 2026
4 checks passed
@JSv4 JSv4 deleted the fix/dependabot-vulnerabilities branch May 7, 2026 03:51
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