form-data

A library to create readable "multipart/form-data" streams. Can be used to submit forms and file uploads to other web applications.

4.0.6Latest, 12 Jun 2026
1BDownloads, last month
0Advisories on the latest
2Advisories, all versions
MITLicence
2.4KStars
5.4/10OpenSSF Scorecard

Known advisories

Severity Advisory Fix Published
High form-data: CRLF injection in form-data via unescaped multipart field names and filenames CVE-2026-12143 Fixed in 2.5.6, 3.0.5, 4.0.6 15 Jun 2026
Critical form-data uses unsafe random function in form-data for choosing boundary CVE-2025-7783 Fixed in 2.5.4, 3.0.4, 4.0.4 21 Jul 2025

In the news

On Hacker News

Sources: npm, deps.dev (CC BY 4.0), OSV. Last checked 3 Dec 2026.