Skip to content

fix(deps): resolve 31 Dependabot security vulnerabilities - #124

Merged
dongjiang1989 merged 1 commit into
mainfrom
add-security
Oct 7, 2026
Merged

dongjiang1989 merged 1 commit into
mainfrom
add-security

Conversation

@dongjiang1989

Copy link
Copy Markdown
Contributor

Which issue(s) this PR fixes:

Fixes 31 open Dependabot alerts across 7 packages (16 high, 10 medium, 5 low):

Package Bump CVEs / GHSAs
sharp 0.35.4 → 0.35.5 CVE-2026-96889 (librsvg RCE)
smol-toml 1.8.0 → 1.9.0 quadratic-time parse DoS
source-map-js 1.2.1 → 1.2.2 event-loop DoS
devalue 5.9.2 → 6.0.2 6 alerts (shared memory, sparse-array, __proto__ bypass, etc.)
brace-expansion 5.0.9 → 5.0.12 recursion stack exhaustion + quadratic expansion DoS
fast-uri 4.1.4 → 4.2.1 host normalization + mailto header injection
undici 8.10.1 → 8.11.2 11 alerts (DoS, cookie disclosure, TLS bypass, cache poisoning, etc.)

Two alerts remain open — no upstream fix available: braces (GHSA-vfj7-8cjw-p6xm) and http-cache-semantics (GHSA-ch52-4w7c-c8xp).

Special notes for reviewers:

  • Changes are limited to package.json overrides and package-lock.json — no source code changes.
  • npm audit high-severity count: 16 → 0 (from fixable alerts).
  • astro check, eslint, prettier all pass clean.
  • CHANGELOG.md updated under [Unreleased].

@vercel

vercel Bot commented Oct 7, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
website Ready Ready Preview Oct 7, 2026 11:46am UTC

Bump dependency versions to address Dependabot alerts:

- sharp: 0.35.4 → 0.35.5 (CVE-2026-96889: librsvg RCE)
- smol-toml: 1.8.0 → 1.9.0 (quadratic-time parse DoS)
- source-map-js: 1.2.1 → 1.2.2 (event-loop DoS)
- devalue: 5.9.2 → 6.0.2 (6 alerts: shared memory, sparse-array, __proto__ bypass)
- brace-expansion: resolved via npm semver (1.1.21 for minimatch@3, 5.0.12 for minimatch@10)
- fast-uri: 4.1.4 → 4.2.1 (host normalization + mailto header injection)
- undici: 8.10.1 → 8.11.2 (11 alerts: DoS, cookie disclosure, TLS bypass, cache poisoning)

npm overrides updated: added source-map-js, devalue, undici; bumped sharp, fast-uri, smol-toml.
Removed blanket brace-expansion override that broke license-checker CI.

Remaining: braces + http-cache-semantics (no upstream fix available).

Fixes #124

Signed-off-by: dongjiang1989 <dongjiang1989@126.com>
@dongjiang1989
dongjiang1989 merged commit 8620492 into main Oct 7, 2026
12 checks passed
@dongjiang1989
dongjiang1989 deleted the add-security branch October 7, 2026 11:49

This branch was successfully deployed

1 active deployment
Preview — 5a4ef275 Deployed Oct 7, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant