Is form-data 4.0 vulnerable?
npm · 7 releases from 4.0.0 to 4.0.6 · latest form-data is 4.0.6 · checked 1 Nov 2026
No known advisories in the last release
form-data 4.0.6, the last 4.0 release, has no known advisories. 2 advisories affect earlier 4.0.x releases, so update to 4.0.6.
Update within 4.0:
npm install form-data@4.0.6Fixed within 4.0.x, affecting earlier releases
form-data: CRLF injection in form-data via unescaped multipart field names and filenames
- Affected
- <2.5.6 · >=3.0.0 <3.0.5 · >=4.0.0 <4.0.6
- Fixed in
- 2.5.6, 3.0.5, 4.0.6
form-data uses unsafe random function in form-data for choosing boundary
- Affected
- <2.5.4 · >=3.0.0 <3.0.4 · >=4.0.0 <4.0.4
- Fixed in
- 2.5.4, 3.0.4, 4.0.4
Which of your client projects are still on form-data 4.0?
NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact form-data version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.
Other form-data versions
Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the npm registry. Refreshed daily.