[lexical] Chore: Fix form-data CVE-2025-7783 in root lockfile#8174
Merged
thatmichael85 merged 1 commit intomainfrom Feb 27, 2026
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
etrepum
approved these changes
Feb 26, 2026
Add pnpm override for form-data>=4.0.4 to fix a CRITICAL severity vulnerability (GHSA-mw96-cpmx-2vgc) where form-data < 4.0.4 uses an unsafe random function for choosing multipart boundaries. form-data is a transitive dependency via jsdom and cannot be bumped through normal dependency updates since jsdom pins it with ^4.0.0 and pnpm preserves existing resolutions.
fc41530 to
8018851
Compare
Merged
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.
Description
form-data>= 4.0.0, < 4.0.4 (CVE-2025-7783, CRITICAL severity) uses an unsafe random function for choosing multipart form boundaries.form-datais a transitive dependency viajsdomand cannot be bumped through normalpnpm updatesince pnpm preserves existing lockfile resolutions for transitive deps.pnpm.overridesentry forform-data>=4.0.4in the rootpackage.json, resolving it to4.0.5.Test plan
Before
form-data@4.0.0in rootpnpm-lock.yamlAfter
form-data@4.0.5in rootpnpm-lock.yaml