Skip to content

fix(deps): bump form-data to 4.0.6 - #398

Open
yaoweiprc wants to merge 1 commit into
masterfrom
fix/INS-4178-form-data
Open

yaoweiprc wants to merge 1 commit into
masterfrom
fix/INS-4178-form-data

Conversation

@yaoweiprc

Copy link
Copy Markdown

Summary

  • Bump form-data from exactly 4.0.4 to 4.0.6. In versions through 4.0.5, FormData#append does not escape CR/LF/" in the field name and filename, which allows Content-Disposition header injection / extra multipart parts.
  • package-lock.json only changes form-data and its hasown dependency (2.0.2 -> 2.0.4); no unrelated lockfile churn.
  • Downstream (Insomnia) pins this version via httpsnippet, so a new release is needed for consumers to pick up the fix. Supersedes the stale Dependabot PR chore(deps): bump form-data #381 (targets 4.0.4).

Verification

  • npm ci, npm test (20 suites / 747 tests pass), Prettier and markdown lint pass; npm run build produced no errors.

Refs INS-4178

🤖 Generated with Claude Code

form-data <= 4.0.5 does not escape CR/LF/" in multipart field names and
filenames passed to FormData#append, allowing Content-Disposition header
injection. Bump to 4.0.6, which fixes it.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

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.

2 participants