Skip to content

LTS-4003: bump form-data to patched releases (4.0.6 / 2.5.6) — fixes CRLF injection (GHSA-hmw2-7cc7-3qxx)#14

Merged
Ankit098 merged 1 commit into
mainfrom
LTS-4003-form-data-crlf-fix
Jun 24, 2026
Merged

LTS-4003: bump form-data to patched releases (4.0.6 / 2.5.6) — fixes CRLF injection (GHSA-hmw2-7cc7-3qxx)#14
Ankit098 merged 1 commit into
mainfrom
LTS-4003-form-data-crlf-fix

Conversation

@prasadthx

Copy link
Copy Markdown
Collaborator

What

Bumps the transitive dev-dependency form-data to patched releases in the lockfile:

Copy Before After
top-level node_modules/form-data 4.0.4 4.0.6
@types/request/node_modules/form-data 2.5.5 2.5.6

Why

Resolves GHSA-hmw2-7cc7-3qxx — CRLF injection in form-data via unescaped multipart field names and filenames (CWE-93, CVSS 7.5).

Jira: LTS-4003

Notes

  • form-data is not a direct dependency — it's pulled in transitively by dev tooling. Both vulnerable copies already satisfied the existing semver ranges (^4.0.0/^4.0.4 and ^2.5.5), so the patched versions are picked up without any package.json change.
  • This is a package-lock.json-only update, produced by npm update form-data --package-lock-only. No runtime or source code changes.
  • The added es-set-tostringtag@2.0.4 entry is a new sub-dependency of form-data@4.0.6.

🤖 Generated with Claude Code

Fixes CRLF injection in form-data via unescaped multipart field names and filenames (GHSA-hmw2-7cc7-3qxx, CWE-93, CVSS 7.5).

form-data is a transitive dev-dependency; both vulnerable copies bumped within existing semver ranges: top-level 4.0.4 -> 4.0.6 and 2.5.5 -> 2.5.6 (under @types/request). Lockfile-only change; package.json untouched.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@prasadthx prasadthx requested a review from a team as a code owner June 24, 2026 13:54
@prasadthx prasadthx requested a review from anupam-s-20 June 24, 2026 13:54
@Ankit098 Ankit098 merged commit 38eb506 into main Jun 24, 2026
5 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.

3 participants