chore: fix dependabot security vulnerabilities via pnpm overrides#394
Merged
gregnazario merged 1 commit intomainfrom Mar 17, 2026
Merged
chore: fix dependabot security vulnerabilities via pnpm overrides#394gregnazario merged 1 commit intomainfrom
gregnazario merged 1 commit intomainfrom
Conversation
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)
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
There was a problem hiding this comment.
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
undicioverride and added a new one for the^7range to address WebSocket overflow vulnerabilities. - Added overrides for
svgo,tar,flatted,dompurify,devalue, andyauzlto fix various DoS, XSS, path traversal, and prototype pollution issues. - Regenerated
pnpm-lock.yamlto 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.
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
Fixed 20 known security vulnerabilities identified by
pnpm auditby adding/updating pnpm overrides for transitive dependencies.Changes
Updated
package.jsonoverrides and regeneratedpnpm-lock.yaml:undici@^5||^6^6.23.0^6.24.0undici@^7^7.24.0svgo@^3^3.3.3svgo@^4^4.0.1tar@^7^7.5.11flatted>=3.4.0dompurify>=3.3.2devalue>=5.6.4__proto__own property pollution (GHSA-mwv9-gp5h-frr4)yauzl@^3>=3.2.1Verification