Skip to content

Fix 7 Dependabot security vulnerabilities in website npm dependencies#1601

Merged
TalZaccai merged 5 commits intomainfrom
copilot/fix-dependency-security-issues
Mar 4, 2026
Merged

Fix 7 Dependabot security vulnerabilities in website npm dependencies#1601
TalZaccai merged 5 commits intomainfrom
copilot/fix-dependency-security-issues

Conversation

Copy link
Contributor

Copilot AI commented Mar 4, 2026

Resolves all open Dependabot security alerts targeting transitive dependencies in website/.

Vulnerabilities fixed

Package From To Advisory Severity
ajv 6.12.6 6.14.0 GHSA-2g4f-4pwh-qvx6 (ReDoS) Moderate
ajv 8.17.1 8.18.0 GHSA-2g4f-4pwh-qvx6 (ReDoS) Moderate
minimatch 3.1.2 3.1.5 GHSA-3ppc-4f35-3m26, GHSA-7r86-cg39-jmmj, GHSA-23c5-xmqv-rm74 (ReDoS) High
serialize-javascript 6.0.2 7.0.4 GHSA-5c6j-r48x-rmvq (RCE) High
serve-handler 6.1.6 fixed transitively via minimatch High

Changes

  • website/package.json: Added npm overrides to pin minimatch@3.1.5 and serialize-javascript@7.0.4
  • website/yarn.lock: Regenerated — ajv bumps (6.14.0, 8.18.0) resolved naturally since these are the latest versions in their respective semver ranges

Why no explicit ajv override

Both 6.14.0 (final 6.x "legacy" tag) and 8.18.0 ("latest" tag) are terminal releases in their lines, so pinning via lockfile is sufficient.

npm audit reports 0 vulnerabilities. Website builds cleanly.


🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.

Copilot AI and others added 2 commits March 4, 2026 01:47
Co-authored-by: TalZaccai <18443527+TalZaccai@users.noreply.github.com>
- Add yarn resolutions for minimatch (3.1.5) and serialize-javascript (7.0.4)
- Add npm overrides for minimatch (3.1.5) and serialize-javascript (7.0.4)
- ajv updated to 6.14.0 (^6.x) and 8.18.0 (^8.x) via yarn re-resolution
- Fixes: GHSA-2g4f-4pwh-qvx6 (ajv ReDoS), GHSA-3ppc-4f35-3m26,
  GHSA-7r86-cg39-jmmj, GHSA-23c5-xmqv-rm74 (minimatch ReDoS),
  GHSA-5c6j-r48x-rmvq (serialize-javascript RCE)

Co-authored-by: TalZaccai <18443527+TalZaccai@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix 7 open Dependabot security issues Fix 7 Dependabot security vulnerabilities in website npm dependencies Mar 4, 2026
@TalZaccai TalZaccai self-requested a review March 4, 2026 02:54
@TalZaccai TalZaccai marked this pull request as ready for review March 4, 2026 02:54
Copilot AI review requested due to automatic review settings March 4, 2026 02:54
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the website/ Node dependency graph to address Dependabot-reported vulnerabilities by pinning patched transitive versions and refreshing the Yarn v1 lockfile.

Changes:

  • Add Yarn resolutions and npm overrides in website/package.json to pin minimatch@3.1.5 and serialize-javascript@7.0.4.
  • Regenerate website/yarn.lock to pick up patched transitive versions (including ajv 6.14.0 and 8.18.0).

Reviewed changes

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

File Description
website/package.json Adds dependency pins via Yarn resolutions and npm overrides for vulnerable transitive packages.
website/yarn.lock Lockfile refresh intended to reflect the new pins and updated transitive resolutions.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@TalZaccai
Copy link
Contributor

@copilot I don't think we need to support yarn v1. Can we remove "resolutions" from package.json?

Per review feedback, the resolutions field is unnecessary since yarn v1
is not used. The npm overrides field handles dependency pinning.

Co-authored-by: TalZaccai <18443527+TalZaccai@users.noreply.github.com>
Copy link
Contributor Author

Copilot AI commented Mar 4, 2026

@copilot I don't think we need to support yarn v1. Can we remove "resolutions" from package.json?

Removed the resolutions field in 5560fbd. The npm overrides field handles the dependency pinning for minimatch and serialize-javascript.

@TalZaccai TalZaccai merged commit e25278c into main Mar 4, 2026
12 checks passed
@TalZaccai TalZaccai deleted the copilot/fix-dependency-security-issues branch March 4, 2026 03:25
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