Skip to content
Heist/ feed
Back to feed
Medium

estree-util-value-to-estree allows prototype pollution in generated ESTree

Type: advisorySources: OSV

estree-util-value-to-estree converts a JavaScript value to an ESTree expression. When generating an ESTree from a value with a property named __proto__, valueToEstree would generate an object that specifies a prototype instead. This vulnerability is fixed in 3.3.3.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-32014
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 05:31 UTC · Revision 1

Source evidence

estree-util-value-to-estree allows prototype pollution in generated ESTree

core-osv · Original source

Published 7 Apr 2025, 14:56 UTC

estree-util-value-to-estree converts a JavaScript value to an ESTree expression. When generating an ESTree from a value with a property named __proto__, valueToEstree would generate an object that specifies a prototype instead. This vulnerability is fixed in 3.3.3.

osv:CVE-2025-32014
Complete source record
{
  "id": "516fb7d17408cb9809619cd03bc28fe7c0032765d1ce04bc89b5fe45d09a0168",
  "url": "https://osv.dev/vulnerability/CVE-2025-32014",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "estree-util-value-to-estree allows prototype pollution in generated ESTree",
    "summary": "estree-util-value-to-estree converts a JavaScript value to an ESTree expression. When generating an ESTree from a value with a property named __proto__, valueToEstree would generate an object that specifies a prototype instead. This vulnerability is fixed in 3.3.3.",
    "evidence": "osv:CVE-2025-32014",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2025-32014",
      "aliases": [
        "CVE-2025-32014",
        "GHSA-f7f6-9jq7-3rqj"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/remcohaszing/estree-util-value-to-estree",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "cb5305c99309c596875b2b9f771d0332503c953d"
                },
                {
                  "fixed": "d0c394fbc64bc55937ffe4e162b81f15ba506e55"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "3.3.3"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "d0c394fbc64bc55937ffe4e162b81f15ba506e55"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v3.3.2",
            "v3.3.1",
            "v3.3.0",
            "v3.2.1",
            "v3.2.0",
            "v3.1.2",
            "v3.1.1",
            "v3.1.0",
            "v3.0.1",
            "v3.0.0",
            "v2.1.0",
            "v2.0.0",
            "v1.3.0",
            "v1.2.0",
            "v1.1.0",
            "v1.0.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-32014.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:49.992046030Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/32xxx/CVE-2025-32014.json",
        "https://github.com/remcohaszing/estree-util-value-to-estree/security/advisories/GHSA-f7f6-9jq7-3rqj",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-32014",
        "https://github.com/remcohaszing/estree-util-value-to-estree/commit/d0c394fbc64bc55937ffe4e162b81f15ba506e55"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-1321"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/32xxx/CVE-2025-32014.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-32014",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 518378,
  "published_at": "2025-04-07T14:56:40.413+00:00"
}