fix: patch dependency vulnerabilities (8 → 4 dev-only) - #247
Merged
Conversation
Update transitive dependencies in the lockfile to resolve the fixable npm audit findings pulled through vitepress: - dompurify → 3.4.13 (XSS / config-pollution advisories) - mermaid → 11.16.1 (prototype pollution, CSS injection, DoS) - nanoid → 3.3.18 (infinite loop on non-positive size) - postcss → 8.5.26 (source-map path traversal) npm audit: 8 vulnerabilities (3 high, 5 moderate) → 4 (1 high, 3 moderate). The remaining 4 all trace to a single root cause: esbuild <=0.24.2 (dev-server SSRF, GHSA-67mh-4wv8-2f99) cascading through vite → vitepress → vitepress-plugin-mermaid. vitepress 1.6.4 is the latest stable and pins vite@5, which requires esbuild ^0.21.3, while the fix is esbuild >=0.25.0 — outside vite 5's range, with no non-breaking upgrade path. The advisory affects only the esbuild/vite dev server; this is a static site built with `vitepress build` and deployed to gh-pages, so the dev server is never exposed in production. Deferred pending a vitepress major upgrade. Verified: vitepress build completes successfully. Signed-off-by: gkrajniak <gkrajniak@gmail.com>
|
Elbehery
approved these changes
Aug 13, 2026
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.
Update transitive dependencies in the lockfile to resolve the fixable npm audit findings pulled through vitepress:
npm audit: 8 vulnerabilities (3 high, 5 moderate) → 4 (1 high, 3 moderate).
The remaining 4 all trace to a single root cause: esbuild <=0.24.2 (dev-server SSRF, GHSA-67mh-4wv8-2f99) cascading through vite → vitepress → vitepress-plugin-mermaid. vitepress 1.6.4 is the latest stable and pins vite@5, which requires esbuild ^0.21.3, while the fix is esbuild >=0.25.0 — outside vite 5's range, with no non-breaking upgrade path. The advisory affects only the esbuild/vite dev server; this is a static site built with
vitepress buildand deployed to gh-pages, so the dev server is never exposed in production. Deferred pending a vitepress major upgrade.Verified: vitepress build completes successfully.