fix(website): resolve all 7 open Dependabot security alerts#224
Open
arnaudlh wants to merge 1 commit into
Open
fix(website): resolve all 7 open Dependabot security alerts#224arnaudlh wants to merge 1 commit into
arnaudlh wants to merge 1 commit into
Conversation
Remediate all 7 open Dependabot alerts for transitive npm dependencies in website/package-lock.json. Ran `npm audit fix` for the semver-compatible patch bumps and added targeted `overrides` for the two that required a major version bump of the transitive dependency. Resolved advisories: - http-proxy-middleware 2.0.9 -> 2.0.10 (#33, Host-header routing bypass) - webpack-dev-server 5.2.4 -> 5.2.5 (#30, HMR WebSocket interception) - @babel/core 7.29.0 -> 7.29.7 (#27, arbitrary file read via sourceMappingURL) - joi 17.13.3 -> 17.13.4 (#19, RangeError DoS via recursive link schemas) - uuid 8.3.2 -> 11.1.1 via sockjs override (#15, missing buffer bounds check) - serialize-javascript 6.0.2 -> 7.0.7 via override (#14 CPU DoS, #1 RCE) The uuid override is scoped to sockjs so mermaid keeps uuid 14.x. Verified `npm audit` reports 0 vulnerabilities and `npm run build` succeeds. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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
Remediates all 7 open Dependabot alerts for transitive npm dependencies in
website/package-lock.json(Docusaurus site). After these changes,npm auditreports 0 vulnerabilities andnpm run buildsucceeds.Approach
npm audit fix(non---force) for the semver-compatible patch bumps.overridesblock inwebsite/package.jsonfor the two packages that required a major version bump of the transitive dependency:serialize-javascript→^7.0.5(parents declared^6)uuid→^11.1.1, scoped tosockjssomermaidkeepsuuid14.xAlerts resolved
Compatibility notes
copy-webpack-plugin/css-minimizer-webpack-pluginonly for cache-key serialization; theserialize(obj, opts)API is unchanged.sockjsusesrequire('uuid').v4(), which remains available in uuid 11's CJS build; the override is scoped somermaidis unaffected.Verification
npm audit→found 0 vulnerabilitiesnpm run build→Generated static files in "build"Notes
website/package.jsonandwebsite/package-lock.jsonchanged.js-yaml@3.14.2(pulled bygray-matter) was not part of the Dependabot alert set and is intentionally left untouched, since forcing it to 4.x would break gray-matter'ssafeLoadAPI.Co-authored-by: Copilot 223556219+Copilot@users.noreply.github.com