---
title: "form-data security advisories"
description: "2 known security advisories for form-data, with the versions they affect and the version that fixes each."
url: https://inlinr.com/packages/form-data/security
lang: en
---

[Packages](https://inlinr.com/packages)

# form-data

4.0.6 · 12 Jun 2026 MIT 236.8M / week [Repository](https://github.com/form-data/form-data) [Homepage](https://github.com/form-data/form-data#readme) [npm](https://www.npmjs.com/package/form-data) [Atom feed](https://inlinr.com/packages/feed/form-data)

Your version 

## Security advisories

From OSV, open ones first. Each release line gets its own fix: an older major is fixed by a patch on that major, not by moving to the newest one.

| Line | Newest | Where it stands                                                               |
| ---- | ------ | ----------------------------------------------------------------------------- |
|      | 4.0.6  | Safe from 4.0.6                                                               |
|      | 3.0.5  | Safe from 3.0.5                                                               |
|      | 2.5.6  | Safe from 2.5.6                                                               |
|      | 1.0.1  | 8 open advisories, worst critical  · last release Aug 2016, no longer updated |

- Critical  
[form-data uses unsafe random function in form-data for choosing boundary](https://inlinr.com/advisories/GHSA-fjxv-7rqg-78g4)GHSA-fjxv-7rqg-78g4 · 21 Jul 2025  
fixed in 4.0.4, 3.0.4, 2.5.4
- High  
[form-data: CRLF injection in form-data via unescaped multipart field names and filenames](https://inlinr.com/advisories/GHSA-hmw2-7cc7-3qxx)GHSA-hmw2-7cc7-3qxx · 15 Jun 2026  
fixed in 4.0.6, 3.0.5, 2.5.6

### Quality and security signals

What [npm](https://www.npmjs.com/package/form-data) and [deps.dev](https://deps.dev/npm/form-data) say about the latest release. Signals, not a verdict.

Reading npm and deps.dev…

Registry facts last checked 22 Nov 2026\. Releases and advisories last read 22 Nov 2026.

A whole project to check? Paste its package.json in the [dependency check](https://inlinr.com/tools/dependency-check): every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.
