- Latest release
- 4.0.6 (Jun 12, 2026): no advisory affects it
- Newest unaffected release
- 4.0.6 (Jun 12, 2026), the latest release
- Advisories
- 2 · 1 critical, 1 high
- Weekly downloads
- 227.2M
- Dependents
- 271.7K
- Releases
- 53 since 0.0.0 (May 16, 2011)
- Registry
- npm
- Releases read
- Nov 8, 2026
Version timeline
- CVE-2026-12143Affects 0.0.0 to 2.5.5 (2.5.6 is outside it); 3.0.0 to 3.0.4 (3.0.5 is outside it); 4.0.0 to 4.0.5 (4.0.6 is outside it)
- CVE-2025-7783Affects 0.0.0 to 2.5.3 (2.5.4 is outside it); 3.0.0 to 3.0.3 (3.0.4 is outside it); 4.0.0 to 4.0.3 (4.0.4 is outside it)
Advisories 2
- CVE-2026-12143High 8.7
form-data does not escape CR/LF/quote in multipart field names and filenames (CRLF injection)
Affected: fixed in 2.5.6; from 3.0.0, fixed in 3.0.5; from 4.0.0, fixed in 4.0.6; fixed in 2.5.6; from 3.0.0, fixed in 3.0.5; from 4.0.0, fixed in 4.0.6.
Fixed in 2.5.6 (released Jun 12, 2026, the day of disclosure), 3.0.5 (released Jun 12, 2026, the day of disclosure) and 4.0.6 (released Jun 12, 2026, the day of disclosure).
The latest release, 4.0.6, is not affected.
46% of form-data downloads last week were affected versions (121M).
- CVE-2025-7783Critical 9.4
Usage of unsafe random function in form-data for choosing boundary
Affected: fixed in 2.5.4; from 3.0.0, fixed in 3.0.4; from 4.0.0, fixed in 4.0.4.
Fixed in 2.5.4 (released Jul 17, 2025, 1 day before disclosure), 3.0.4 (released Jul 17, 2025, 1 day before disclosure) and 4.0.4 (released Jul 17, 2025, 1 day before disclosure).
The latest release, 4.0.6, is not affected.
20% of form-data downloads last week were affected versions (51.4M).