fix(security): patch form-data CVE-2025-7783 (CVSS 9.4) [STAFF-1110]#93
Merged
Tyler (tylerwashington888) merged 4 commits intoJun 29, 2026
Conversation
Adds npm overrides to force form-data to patched versions: - axios and @types/node-fetch: 4.0.0 → 4.0.6 - jsdom: 3.0.1 → 3.0.5 Scoped overrides used to avoid a major-version jump on the jsdom instance (which requires ^3.0.0). Closes STAFF-1110 | Part of PROD-2678 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Chromatic workflow was running npm install without authenticating against npm.pkg.github.com, causing 401s on @contentful/* packages. The job already has packages:read permission so GITHUB_TOKEN suffices. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Chromatic needs the full commit graph to diff against baselines. actions/checkout@v3 does a shallow clone by default; fetch-depth: 0 restores the full history. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
ryunsong-contentful
approved these changes
Jun 29, 2026
Workflow changes were out of scope for a security patch PR. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Jared Jolton (jjolton-contentful)
approved these changes
Jun 29, 2026
Tyler (tylerwashington888)
deleted the
security/STAFF-1110-fix-form-data-cve-2025-7783
branch
June 29, 2026 23:15
|
🎉 This PR is included in version 1.7.3 🎉 The release is available on:
Your semantic-release bot 📦🚀 |
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
Patches CVE-2025-7783 (GHSA-fjxv-7rqg-78g4, CVSS 9.4) in
form-data, a transitive dependency pulled in via@contentful/app-sdk → contentful-management → axios.Part of PROD-2678 · Closes STAFF-1110
What changed
form-datais not a direct dependency — uses npmoverridesto pin each instance to its patched version in-major (no breaking changes):axios → form-data@types/node-fetch → form-datajsdom → form-dataScoped overrides are used (rather than a global
form-data: 4.0.6) to avoid forcingjsdomacross a major version boundary, since it requires^3.0.0.Files changed
package.json— adds scopedoverridesentriespackage-lock.json— lockfile updated with patched versionsNo other files changed.
Test plan
npm run test:ci— all 18 tests passnpm audit—form-datano longer flagged🤖 Generated with Claude Code