Skip to content

fix(deps): update browserslist past GHSA-73wf-gq98-2v4g - #214

Merged
kipavy merged 1 commit into
devfrom
fix/browserslist-advisory
Sep 7, 2026
Merged

fix(deps): update browserslist past GHSA-73wf-gq98-2v4g#214
kipavy merged 1 commit into
devfrom
fix/browserslist-advisory

Conversation

@kipavy

@kipavy kipavy commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

Closes Dependabot alert #47 (high).

browserslist <= 4.28.6 crashes and can write to Object.prototype through normalizeStats when it reads a custom browserslist-stats.json. Dependabot could not open a PR itself: on its last run it resolved no higher than 4.28.4 and reported security_update_not_possible with lowest-non-vulnerable-version: 4.28.7. 4.28.9 is on npm now.

Nothing depends on browserslist directly — it arrives under @babel/helper-compilation-targets via vite-plugin-svgr, dev scope only — so this is a lockfile bump. 4.28.4 → 4.28.9, carrying its data packages (caniuse-lite, electron-to-chromium, node-releases, baseline-browser-mapping) and update-browserslist-db 1.2.3 → 1.3.2. No other package moves.

pnpm run build passes on the new lockfile.

browserslist <= 4.28.6 crashes and can write to Object.prototype through
normalizeStats when it reads a custom browserslist-stats.json. Dependabot
opened alert #47 (high) on it but could not raise a PR: on its last run
4.28.7 was not yet resolvable, so it reported the fix as impossible and
the alert has sat open since.

Nothing in the tree depends on browserslist directly — it comes in under
@babel/helper-compilation-targets via vite-plugin-svgr, dev scope only —
so the fix is a lockfile bump. 4.28.9 pulls its data packages
(caniuse-lite, electron-to-chromium, node-releases, baseline-browser-
mapping) and update-browserslist-db forward with it; nothing else moves.

The frontend build passes on the new lockfile.
@kipavy
kipavy merged commit 6fd6ffe into dev Sep 7, 2026
4 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