Skip to content

chore: fix dependabot security vulnerabilities via pnpm overrides#394

Merged
gregnazario merged 1 commit intomainfrom
cursor/dependencies-dependabot-pnpm-e0f1
Mar 17, 2026
Merged

chore: fix dependabot security vulnerabilities via pnpm overrides#394
gregnazario merged 1 commit intomainfrom
cursor/dependencies-dependabot-pnpm-e0f1

Conversation

@gregnazario
Copy link
Collaborator

Summary

Fixed 20 known security vulnerabilities identified by pnpm audit by adding/updating pnpm overrides for transitive dependencies.

Changes

Updated package.json overrides and regenerated pnpm-lock.yaml:

Override Old Version New Version Vulnerability
undici@^5||^6 ^6.23.0 ^6.24.0 WebSocket 64-bit length overflow (GHSA-f269-vfmq-vjvj)
undici@^7 (new) ^7.24.0 WebSocket overflow + unbounded memory DoS (GHSA-f269-vfmq-vjvj, GHSA-4992-7rv2-5pvq)
svgo@^3 (new) ^3.3.3 DoS via DOCTYPE entity expansion (GHSA-xpqw-6gx7-v673)
svgo@^4 (new) ^4.0.1 DoS via DOCTYPE entity expansion (GHSA-xpqw-6gx7-v673)
tar@^7 (new) ^7.5.11 Hardlink/symlink path traversal (GHSA-qffp-2rhf-9h96, GHSA-9ppj-qmqm-q256)
flatted (new) >=3.4.0 Unbounded recursion DoS in parse() (GHSA-25h7-pfq9-p65f)
dompurify (new) >=3.3.2 XSS bypass via mermaid
devalue (new) >=5.6.4 __proto__ own property pollution (GHSA-mwv9-gp5h-frr4)
yauzl@^3 (new) >=3.2.1 Off-by-one error (GHSA-gmq8-994r-jv83)

Verification

$ pnpm audit
No known vulnerabilities found
Open in Web Open in Cursor 

Added pnpm overrides to resolve 20 known vulnerabilities:
- svgo@^3: ^3.3.3 (DoS via DOCTYPE entity expansion, GHSA-xpqw-6gx7-v673)
- svgo@^4: ^4.0.1 (DoS via DOCTYPE entity expansion, GHSA-xpqw-6gx7-v673)
- tar@^7: ^7.5.11 (hardlink/symlink path traversal, GHSA-qffp-2rhf-9h96, GHSA-9ppj-qmqm-q256)
- flatted: >=3.4.0 (unbounded recursion DoS, GHSA-25h7-pfq9-p65f)
- undici@^5||^6: ^6.24.0 (WebSocket overflow + memory issues, GHSA-f269-vfmq-vjvj)
- undici@^7: ^7.24.0 (WebSocket overflow + memory issues, GHSA-f269-vfmq-vjvj)
- dompurify: >=3.3.2 (XSS bypass, GHSA-*)
- devalue: >=5.6.4 (proto pollution, GHSA-mwv9-gp5h-frr4)
- yauzl@^3: >=3.2.1 (off-by-one error, GHSA-gmq8-994r-jv83)
Copilot AI review requested due to automatic review settings March 17, 2026 00:05
@vercel
Copy link

vercel bot commented Mar 17, 2026

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

Project Deployment Actions Updated (UTC)
aptos-docs Ready Ready Preview, Comment Mar 17, 2026 0:09am

Request Review

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

This PR fixes 20 known security vulnerabilities by adding/updating pnpm overrides for transitive dependencies and regenerating the lock file. All overrides pin vulnerable packages to patched versions.

Changes:

  • Updated undici override and added a new one for the ^7 range to address WebSocket overflow vulnerabilities.
  • Added overrides for svgo, tar, flatted, dompurify, devalue, and yauzl to fix various DoS, XSS, path traversal, and prototype pollution issues.
  • Regenerated pnpm-lock.yaml to reflect the new dependency resolutions.

Reviewed changes

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

File Description
package.json Added/updated pnpm overrides for 9 packages to fix security vulnerabilities
pnpm-lock.yaml Regenerated lock file with updated dependency versions matching the new overrides
Files not reviewed (1)
  • pnpm-lock.yaml: Language not supported

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

You can also share your feedback on Copilot code review. Take the survey.

@gregnazario gregnazario merged commit 027d62a into main Mar 17, 2026
11 checks passed
@gregnazario gregnazario deleted the cursor/dependencies-dependabot-pnpm-e0f1 branch March 17, 2026 00: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.

3 participants