Skip to content

Fix transitive form-data security issues with 4.0.6 - #58

Merged
oe merged 1 commit into
mainfrom
codex/fix-form-data-lockfile
Oct 4, 2026
Merged

oe merged 1 commit into
mainfrom
codex/fix-form-data-lockfile

Conversation

@oe

@oe oe commented Oct 4, 2026 •

Copy link
Copy Markdown
Owner

The development lockfile still resolved jsdom's form-data dependency to 4.0.0. Refresh only that dependency to 4.0.6 within jsdom's existing ^4.0.0 range, including its required transitive dependencies; no overrides, manifest changes or library runtime changes are needed.

4.0.6 fixes both predictable multipart boundaries (GHSA-fjxv-7rqg-78g4, fixed in 4.0.4) and multipart field-name/filename CRLF injection (GHSA-hmw2-7cc7-3qxx, fixed in 4.0.6). This supersedes #42, which targeted 4.0.4 using the older dependency tree.

Validation: frozen-lockfile installation and 98 Node/mocked Electron tests passed locally. Targeted checks of the installed 4.0.6 dependency confirm that fixed Math.random output does not repeat boundaries and CRLF in field names/filenames cannot inject header lines. CI exercises the complete browser and Electron matrix. This affects development dependencies only and requires no npm package release.

@oe
oe merged commit e8025df into main Oct 4, 2026
6 checks passed
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.

1 participant