CVE-2026-49250
moderateUnauthenticated CPU-exhaustion DoS in Conform form library parseSubmission (1.8.0 to <1.19.4)
Conform, a type-safe form validation library for React-based applications, contains an algorithmic-complexity flaw (CWE-407) in the experimental parseSubmission API in packages/conform-dom/formdata.ts. For each unique field name in a submission, the parser rescans all FormData or URLSearchParams entries, so a form containing many unique field names triggers quadratic synchronous CPU work and can exhaust the event loop. An unauthenticated attacker who can reach any endpoint that passes attacker-controlled submission data to parseSubmission gains a cheap remote denial-of-service against the application, with no impact on confidentiality or integrity. All versions from 1.8.0 up to (but not including) 1.19.4 are affected, and the issue is fixed in version 1.19.4. No public proof-of-concept exists and the CVE is not in the CISA KEV catalog, so exploitation status is none known.
What to do: Upgrade conform (and conform-dom) to version 1.19.4 or later, which fixes the repeated-scan behavior. Until upgraded, keep enforcing request parsing limits before any Conform call — cap request body size, the number of FormData/URLSearchParams entries, and unique field names, and reject oversized submissions at the edge (proxy, framework body-parser limits). Audit whether any public route feeds unvalidated request data into parseSubmission and monitor server CPU/event-loop latency for anomalous spikes from form submissions.
| Conform (conform-dom npm package, Edmund Hung project) Conform (packages/conform-dom, parseSubmission future API) | >= 1.8.0, < 1.19.4 |
Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.
Conform, a type-safe form validation library, allows the parsing of nested objects in the form of object.property. From 1.8.0 until 1.19.4, the parseSubmission future API in packages/conform-dom/formdata.ts repeatedly scans FormData or URLSearchParams entries by each unique field name. An unauthenticated attacker can submit a crafted form containing many unique names, causing excessive synchronous CPU work and denial of service in an application that passes the submission to parseSubmission. Applications should continue to enforce request parsing limits before invoking Conform. This issue is fixed in version 1.19.4.
- Weakness
- CWE-407
- Vector
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/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
In the news0 stories
No ingested article mentions this CVE yet.