Conform contains Prototype Pollution Vulnerability in `parseWith...` function
edmundhung conform
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| @conform-to/dom npm |
|
|
| @conform-to/zod npm |
|
edmundhung conform
| Product | Affected | Fixed in |
|---|---|---|
| @conform-to/dom npm |
|
|
| @conform-to/zod npm |
|
1.1.10.9.2| @conform-to/yup npm |
|
|
Conform, a type-safe form validation library, allows the parsing of nested objects in the form of `object.property`. Due to an improper implementation of this feature in versions prior to 1.1.1, an attacker can exploit the feature to trigger prototype pollution by passing a crafted input to `parseWith...` functions. Applications that use conform for server-side validation of form data or URL parameters are affected by this vulnerability. Version 1.1.1 contains a patch for the issue.
From the CVE record · GitHub_M
Conform’s nested-object parsing is vulnerable to prototype pollution when a crafted input is passed to a `parseWith...` function. Applications using Conform to validate form data or URL parameters on the server are affected. The input does not specify whether authentication or user interaction is required.
Check applications using affected versions of the npm packages @conform-to/dom, @conform-to/zod, or @conform-to/yup: versions before 0.9.2 or versions from 1.0.0 up to, but not including, 1.1.1.