Is form-data 2.5 vulnerable?

npm · 7 releases from 2.5.0 to 2.5.6 · latest form-data is 4.0.6 · checked 1 Nov 2026

No known advisories in the last release

form-data 2.5.6, the last 2.5 release, has no known advisories. 2 advisories affect earlier 2.5.x releases, so update to 2.5.6.

Update within 2.5:npm install form-data@2.5.6

Is your project affected?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Fixed within 2.5.x, affecting earlier releases

  • HighCVE-2026-12143GHSA-hmw2-7cc7-3qxx15 Jun 2026

    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
  • CriticalCVE-2025-7783GHSA-fjxv-7rqg-78g421 Jul 2025

    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 2.5?

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.