CVE-2026-12143
Last modified
CVE-2026-12143 is a high-severity vulnerability rated 8.7/10 on the CVSS scale. form-data is a library for creating readable multipart/form-data streams. In versions through 4.0.5, the `field` argument to `FormData#append` and the `filename` option are concatenated verbatim into the `Content-Disposition` header without escaping carriage return (CR), line feed (LF), or double-quote (") characters. EPSS estimates a 0.53% chance of exploitation in the next 30 days.
Description
form-data is a library for creating readable multipart/form-data streams. In versions through 4.0.5, the `field` argument to `FormData#append` and the `filename` option are concatenated verbatim into the `Content-Disposition` header without escaping carriage return (CR), line feed (LF), or double-quote (") characters. An application that passes attacker-controlled data as a field name or filename (for example, an API gateway that turns JSON object keys into multipart field names) allows the attacker to terminate the header line and inject additional headers, or to smuggle entire additional multipart parts, into the request the application forwards to a backend. This can let the attacker add or override form fields (e.g. set `is_admin=true`) seen by the downstream parser. This is an instance of CWE-93 (CRLF injection). The fix escapes CR, LF, and `"` as `%0D`, `%0A`, and `%22` in field names and filenames, matching the serialization browsers use per the WHATWG HTML multipart/form-data encoding algorithm. Exploitation requires the consuming application to use untrusted input as a field name or filename; applications that use only fixed/trusted field names are not affected. Fixed in 2.5.6, 3.0.5, and 4.0.6.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| form-data | form-data | < 2.5.6; >= 3.0.0, < 3.0.5; >= 4.0.0, < 4.0.6 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-12143?
How severe is CVE-2026-12143?
How do I fix CVE-2026-12143?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-12135The FV Flowplayer Video Player plugin for WordPress is vulne…6.4
- CVE-2026-12136The Customize My Account For Woocommerce plugin for WordPres…6.4
- CVE-2026-12137The SysBasics Customize My Account for WooCommerce – Dashboa…6.1
- CVE-2026-12139Tanium addressed an information disclosure vulnerability in …4.4
- CVE-2026-12141The Premium Addons for Elementor – Powerful Elementor Templa…4.9
- CVE-2026-12142The NEX-Forms – Ultimate Forms Plugin for WordPress plugin f…7.2
- CVE-2026-12144The Wholesale for WooCommerce plugin for WordPress is vulner…8.8
- CVE-2026-1215The MMA Call Tracking plugin for WordPress is vulnerable to …4.3
- CVE-2026-12151Impact: The undici WebSocket client enforces maxPayloadSize …7.5
- CVE-2026-12153The WP Learn Manager plugin for WordPress is vulnerable to a…9.8
- CVE-2026-12154The Reviews Widgets for Google, Yelp & TripAdvisor plugin fo…6.4
- CVE-2026-12157The BetterDocs - Knowledge Base Docs & FAQ Solution for Elem…6.4
Are you affected by CVE-2026-12143?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
