# form-data (npm)

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

- Latest: 4.0.6 (2026-06-12)
- Licence: MIT
- Downloads: 1004094187 last month
- Advisories on the latest version: 0

- CVE-2026-12143 HIGH: form-data: CRLF injection in form-data via unescaped multipart field names and filenames Fixed in 2.5.6, 3.0.5, 4.0.6.
- CVE-2025-7783 CRITICAL: form-data uses unsafe random function in form-data for choosing boundary Fixed in 2.5.4, 3.0.4, 4.0.4.

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