Description
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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| edmundhung | conform | < 1.1.1 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | @conform-to/dom | >= 1.0.0, < 1.1.1 | 1.1.1 | GHSA-624g-8qjg-8qxf |
| npm | @conform-to/dom | < 0.9.2 | 0.9.2 | GHSA-624g-8qjg-8qxf |
| npm | @conform-to/yup | >= 1.0.0, < 1.1.1 | 1.1.1 | GHSA-624g-8qjg-8qxf |
| npm | @conform-to/yup | < 0.9.2 | 0.9.2 | GHSA-624g-8qjg-8qxf |
| npm | @conform-to/zod | >= 1.0.0, < 1.1.1 | 1.1.1 | GHSA-624g-8qjg-8qxf |
| npm | @conform-to/zod | < 0.9.2 | 0.9.2 | GHSA-624g-8qjg-8qxf |