fix(deps): patch known CVEs in axios, dompurify, nanoid, postcss - #8
Merged
yetone merged 1 commit intoAug 18, 2026
Conversation
- axios 1.16.0 -> 1.19.0 (10 advisories, incl. GHSA-mwf2-3pr3-8698, GHSA-xj6q-8x83-jv6g) - dompurify 3.4.3 -> 3.4.13 (10 advisories, incl. GHSA-x4vx-rjvf-j5p4) — production dependency, sanitizes untrusted HTML in the renderer - nanoid 3.3.12 -> 3.3.18 (GHSA-2v37-7h3g-55p8, GHSA-28wg-ghj8-5hjv) - postcss 8.5.14 -> 8.5.26 (GHSA-fxqj-rqcc-2cmp, GHSA-r28c-9q8g-f849) Lockfile-only; all four resolve within existing declared ranges, no package.json changes. Detected by osv-scanner. Scope note: this scan also flagged electron@33.4.11 against 33 GHSAs, but every fix requires jumping to Electron 38.8.6+ (a 5-major-version bump) — too large a change to land as a mechanical dependency PR without full app rebuild/regression testing, so it's intentionally left for the maintainer to schedule separately rather than auto-bumped here.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
osv-scannerflagged several dependencies with known advisories. This PR patches the four that are safe, semver-compatible, lockfile-only bumps — no breaking API changes, nopackage.jsonedits needed.axiosdompurifynanoidpostcssVerification
osv-scanner --recursive .before/afterosv-scannerreports zero findings for these four packagesScope note — electron NOT included
This scan also flagged
electron@33.4.11against 33 separate advisories, but every fix requires jumping to Electron 38.8.6+ (a 5-major-version bump). That's a real app-level upgrade with breaking-change risk, not a mechanical dependency PR — left out intentionally rather than auto-bumped blind. Worth tracking separately.A larger set of lower-severity / dev-tooling-only findings (esbuild, tar, ws, undici, shell-quote, protobufjs, ip-address, qs, brace-expansion, builder-util-runtime, app-builder-lib, @babel/core, @opentelemetry/core, body-parser, sharp) was also observed but not included here to keep this PR reviewable — happy to follow up if useful.
Detected by
osv-scanner (dependency vulnerability scan).