form-data
4.0.6 · 12 Jun 2026MIT236.8M / weekRepositoryHomepagenpmAtom feed
Upgrading form-data From 2.5.2 to 2.5.6
4 releases in betweenevery note read
Before you upgrade
Tick each one off as you go- Breaking2.5.4
Security
Fixes 2 advisories affecting 2.5.2
- 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
18 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
3 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.