Skip to content

Fix open Dependabot alerts in website npm dependencies - #1920

Merged
Badrish Chandramouli (badrishc) merged 2 commits into
mainfrom
badrishc/fix-dependabot-npm-alerts
Jul 9, 2026
Merged

Fix open Dependabot alerts in website npm dependencies#1920
Badrish Chandramouli (badrishc) merged 2 commits into
mainfrom
badrishc/fix-dependabot-npm-alerts

Conversation

@badrishc

@badrishc Badrish Chandramouli (badrishc) commented Jul 8, 2026

Copy link
Copy Markdown
Collaborator

What

Resolves all 14 open Dependabot alerts, which are transitive npm dependencies in website/yarn.lock, by bumping them to patched versions.

How

  • dompurify was already pinned via resolutions; bumped 3.4.03.4.11 and updated the CVE comment (adds CVE-2026-49458/49459/49978).
  • qs: added a new resolutions entry 6.15.2, since the parent pins ~6.14.0 which blocks the fix (CVE-2026-8723).
  • js-yaml and ws patched versions fall within their existing semver ranges, so only their yarn.lock entries were re-resolved rather than force-pinned — this avoids collapsing their two separate majors onto a single version.

Validation

  • yarn install --frozen-lockfile → lockfile consistent
  • yarn build → site builds successfully (only pre-existing broken-anchor doc warnings)
  • Diff limited to website/package.json + website/yarn.lock

Resolves 14 open Dependabot alerts for transitive npm dependencies in
website/yarn.lock by bumping them to patched versions:

- dompurify 3.4.0 -> 3.4.11 (resolution) — #108-#114, #117
- qs 6.14.2 -> 6.15.2 (new resolution; parent pins ~6.14.0) — #99
- js-yaml 3.14.2 -> 3.15.0, 4.1.1 -> 4.3.0 (in-range) — #125, #126
- ws 7.5.10 -> 7.5.11, 8.20.0 -> 8.21.0 (in-range) — #98, #103, #104

js-yaml and ws patched versions are within existing semver ranges, so
their lockfile entries were re-resolved rather than force-pinned (avoids
collapsing their two majors onto a single version). Verified with
yarn install --frozen-lockfile and a full yarn build.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings July 8, 2026 23:02

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the Docusaurus website’s npm dependency lockfile and Yarn resolutions to address Dependabot-reported vulnerabilities in transitive packages, without changing Garnet server/runtime code.

Changes:

  • Updated resolutions in website/package.json to pin dompurify to 3.4.11 and add a new pin for qs at 6.15.2 (with updated CVE annotation comments).
  • Re-resolved website/yarn.lock so dompurify, qs, js-yaml (3.x and 4.x), and ws (7.x and 8.x) are now at the stated patched versions.

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.

File Description
website/package.json Bumps/adds Yarn resolutions entries for dompurify and qs, and updates the related CVE comment strings.
website/yarn.lock Updates lockfile entries to the patched versions for dompurify, qs, js-yaml (3.x/4.x), and ws (7.x/8.x).

@badrishc
Badrish Chandramouli (badrishc) merged commit 1a6f2d9 into main Jul 9, 2026
15 checks passed
@badrishc
Badrish Chandramouli (badrishc) deleted the badrishc/fix-dependabot-npm-alerts branch July 9, 2026 17:39
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.

4 participants