form-data
4.0.6 · 12 Jun 2026MIT236.8M / weekRepositoryHomepagenpmAtom feed
Upgrading form-data From 2.2.0 to 2.5.6
11 releases in betweennotes for 10
Counted from 10 of 11 release notes. Advisories are counted from the advisory database, in full.
Before you upgrade
Tick each one off as you go- Breaking2.5.4
- Breaking2.5.2
Security
Fixes 2 advisories affecting 2.2.0
- form-data uses unsafe random function in form-data for choosing boundarycritical · GHSA-fjxv-7rqg-78g4
- form-data: CRLF injection in form-data via unescaped multipart field names and filenameshigh · GHSA-hmw2-7cc7-3qxx
Release by release
2.5.5 – 2.5.62 releases, nothing new or fixed in the notes
2.3.2 – 2.3.32 releases, nothing new or fixed; 1 without a note
45 other lines we could not sort, mostly version bumps
- 2.5.6
Escape CR, LF, and
"in field names and filenamesb620316 - 2.5.6
Update
@ljharb/eslint-config,auto-changelog,eslint,tape12be578 - 2.5.6
Update
js-randomness-predictor46cfd23 - 2.5.6
Update
hasowne3b96ee - 2.5.5
Actually ensure the readme backup isn’t published
10626c0 - 2.5.5
Use proper dependency
026abe5 - 2.5.4
Update linting config
8bf2492 - 2.5.4
Switch to using
cryptorandom for boundary valuesb88316c - 2.5.4
Validate boundary type in
setBoundary()method131ae5e - 2.5.4
Use
hasown97ac9c2
9 internal lines (docs, tests, tooling) left out.
A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.