GCVE Workshop - 22 September 2026 (14:00-18:00), Luxembourg Before The Vulnopticon Conference - Registration

CVE-2025-12735 (GCVE-0-2025-12735)

Vulnerability from cvelistv5 – Published: 2025-11-05 00:22 – Updated: 2025-11-22 23:45
VLAI
Title
CVE-2025-12735
Summary
The expr-eval library is a JavaScript expression parser and evaluator designed to safely evaluate mathematical expressions with user-defined variables. However, due to insufficient input validation, an attacker can pass a crafted context object or use MEMBER of the context object into the evaluate() function and trigger arbitrary code execution.
SSVC
Exploitation: Public PoC Automatable: Yes Technical Impact: Total
certcc (v2.0.0)
Decision recorded 2025-11-07 15:47 UTC
Exploitation: poc Automatable: yes Technical Impact: total
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2025-11-10 14:06 UTC
CWE
  • CWE-94 - Improper Control of Generation of Code (‘Code Injection’)
  • CWE-1321 - Improperly Controlled Modification of Object Prototype Attributes (‘Prototype Pollution’)
Impacted products
Vendor Product Version CPE status
silentmatt expr-eval Affected: 0 , ≤ 2.0.2 (semver)
guessed Create a notification for this product.
expr-eval-fork expr-eval-fork Affected: 0 , ≤ 3.0.0 (semver)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "cvssV3_1": {
              "attackComplexity": "LOW",
              "attackVector": "NETWORK",
              "availabilityImpact": "HIGH",
              "baseScore": 9.8,
              "baseSeverity": "CRITICAL",
              "confidentialityImpact": "HIGH",
              "integrityImpact": "HIGH",
              "privilegesRequired": "NONE",
              "scope": "UNCHANGED",
              "userInteraction": "NONE",
              "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
              "version": "3.1"
            }
          },
          {
            "other": {
              "content": {
                "id": "CVE-2025-12735",
                "options": [
                  {
                    "Exploitation": "poc"
                  },
                  {
                    "Automatable": "yes"
                  },
                  {
                    "Technical Impact": "total"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2025-11-10T14:06:48.027568Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2025-11-10T14:07:11.995Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "references": [
          {
            "tags": [
              "exploit"
            ],
            "url": "https://github.com/jorenbroekema/expr-eval/blob/460b820ba01c5aca6c5d84a7d4f1fa5d1913c67b/test/security.js"
          }
        ],
        "title": "CISA ADP Vulnrichment"
      },
      {
        "providerMetadata": {
          "dateUpdated": "2025-11-08T00:11:55.078Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "url": "https://www.kb.cert.org/vuls/id/263614"
          }
        ],
        "title": "CVE Program Container"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "expr-eval",
          "vendor": "silentmatt",
          "versions": [
            {
              "lessThanOrEqual": "2.0.2",
              "status": "affected",
              "version": "0",
              "versionType": "semver"
            }
          ]
        },
        {
          "product": "expr-eval-fork",
          "vendor": "expr-eval-fork",
          "versions": [
            {
              "lessThanOrEqual": "3.0.0",
              "status": "affected",
              "version": "0",
              "versionType": "semver"
            }
          ]
        }
      ],
      "credits": [
        {
          "lang": "en",
          "type": "finder",
          "value": "This issue was reported by Jangwoo Choe (UKO)"
        },
        {
          "lang": "en",
          "type": "remediation verifier",
          "value": "Patch validation assistance provided by GitHub user huydoppaz."
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "The expr-eval library is a JavaScript expression parser and evaluator designed to safely evaluate mathematical expressions with user-defined variables. However, due to insufficient input validation, an attacker can pass a crafted context object or use MEMBER of the context object into the evaluate() function and trigger arbitrary code execution."
        }
      ],
      "metrics": [
        {
          "other": {
            "content": {
              "schemaVersion": "2.0.0",
              "selections": [
                {
                  "definition": "The present state of exploitation of the vulnerability.",
                  "key": "E",
                  "name": "Exploitation",
                  "namespace": "ssvc",
                  "values": [
                    {
                      "key": "P",
                      "name": "Public PoC"
                    }
                  ],
                  "version": "1.1.0"
                },
                {
                  "definition": "Can an attacker reliably automate creating exploitation events for this vulnerability?",
                  "key": "A",
                  "name": "Automatable",
                  "namespace": "ssvc",
                  "values": [
                    {
                      "key": "Y",
                      "name": "Yes"
                    }
                  ],
                  "version": "2.0.0"
                },
                {
                  "definition": "The technical impact of the vulnerability.",
                  "key": "TI",
                  "name": "Technical Impact",
                  "namespace": "ssvc",
                  "values": [
                    {
                      "key": "T",
                      "name": "Total"
                    }
                  ],
                  "version": "1.0.0"
                }
              ],
              "timestamp": "2025-11-07T15:47:01.238Z"
            },
            "type": "ssvcV2_0_0"
          }
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "description": "CWE-94: Improper Control of Generation of Code (\u2018Code Injection\u2019)",
              "lang": "en"
            }
          ]
        },
        {
          "descriptions": [
            {
              "description": "CWE-1321: Improperly Controlled Modification of Object Prototype Attributes (\u2018Prototype Pollution\u2019)",
              "lang": "en"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2025-11-22T23:45:45.512Z",
        "orgId": "37e5125f-f79b-445b-8fad-9564f167944b",
        "shortName": "certcc"
      },
      "references": [
        {
          "url": "https://github.com/silentmatt/expr-eval"
        },
        {
          "url": "https://github.com/jorenbroekema/expr-eval"
        },
        {
          "url": "https://www.npmjs.com/package/expr-eval-fork"
        },
        {
          "url": "https://www.npmjs.com/package/expr-eval"
        },
        {
          "url": "https://github.com/silentmatt/expr-eval/pull/288"
        },
        {
          "name": "Github Security Advisory",
          "tags": [
            "third-party-advisory"
          ],
          "url": "https://github.com/advisories/GHSA-jc85-fpwf-qm7x"
        },
        {
          "name": "CERT/CC Advisory",
          "tags": [
            "third-party-advisory"
          ],
          "url": "https://kb.cert.org/vuls/id/263614"
        }
      ],
      "source": {
        "discovery": "EXTERNAL"
      },
      "title": "CVE-2025-12735",
      "x_generator": {
        "engine": "VINCE 3.0.28",
        "env": "prod",
        "origin": "https://cveawg.mitre.org/api/cve/CVE-2025-12735"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "37e5125f-f79b-445b-8fad-9564f167944b",
    "assignerShortName": "certcc",
    "cveId": "CVE-2025-12735",
    "datePublished": "2025-11-05T00:22:55.297Z",
    "dateReserved": "2025-11-05T00:04:49.648Z",
    "dateUpdated": "2025-11-22T23:45:45.512Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2025-12735",
      "date": "2026-09-16",
      "epss": "0.02252",
      "percentile": "0.82048"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2025-12735\",\"sourceIdentifier\":\"cret@cert.org\",\"published\":\"2025-11-05T01:15:33.313\",\"lastModified\":\"2026-06-17T08:32:52.150\",\"vulnStatus\":\"Analyzed\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"The expr-eval library is a JavaScript expression parser and evaluator designed to safely evaluate mathematical expressions with user-defined variables. However, due to insufficient input validation, an attacker can pass a crafted context object or use MEMBER of the context object into the evaluate() function and trigger arbitrary code execution.\"}],\"affected\":[{\"source\":\"cret@cert.org\",\"affectedData\":[{\"vendor\":\"silentmatt\",\"product\":\"expr-eval\",\"versions\":[{\"version\":\"0\",\"lessThanOrEqual\":\"2.0.2\",\"versionType\":\"semver\",\"status\":\"affected\"}]},{\"vendor\":\"expr-eval-fork\",\"product\":\"expr-eval-fork\",\"versions\":[{\"version\":\"0\",\"lessThanOrEqual\":\"3.0.0\",\"versionType\":\"semver\",\"status\":\"affected\"}]}]}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H\",\"baseScore\":9.8,\"baseSeverity\":\"CRITICAL\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"NONE\",\"userInteraction\":\"NONE\",\"scope\":\"UNCHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":3.9,\"impactScore\":5.9}],\"ssvcV203\":[{\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\",\"ssvcData\":{\"timestamp\":\"2025-11-10T14:06:48.027568Z\",\"id\":\"CVE-2025-12735\",\"options\":[{\"exploitation\":\"poc\"},{\"automatable\":\"yes\"},{\"technicalImpact\":\"total\"}],\"role\":\"CISA Coordinator\",\"version\":\"2.0.3\"}}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-94\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:jorenbroekema:javascript_expression_evaluator:3.0.0:*:*:*:*:node.js:*:*\",\"matchCriteriaId\":\"CDE513F1-E3F7-4FA9-BD2B-D310CA8853BD\"},{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:silentmatt:javascript_expression_evaluator:*:*:*:*:*:node.js:*:*\",\"versionEndIncluding\":\"2.0.2\",\"matchCriteriaId\":\"3236DF0B-3012-4193-82D6-9D73D24D723F\"}]}]}],\"references\":[{\"url\":\"https://github.com/advisories/GHSA-jc85-fpwf-qm7x\",\"source\":\"cret@cert.org\",\"tags\":[\"Third Party Advisory\"]},{\"url\":\"https://github.com/jorenbroekema/expr-eval\",\"source\":\"cret@cert.org\",\"tags\":[\"Product\"]},{\"url\":\"https://github.com/silentmatt/expr-eval\",\"source\":\"cret@cert.org\",\"tags\":[\"Product\"]},{\"url\":\"https://github.com/silentmatt/expr-eval/pull/288\",\"source\":\"cret@cert.org\",\"tags\":[\"Issue Tracking\",\"Patch\"]},{\"url\":\"https://kb.cert.org/vuls/id/263614\",\"source\":\"cret@cert.org\",\"tags\":[\"Third Party Advisory\"]},{\"url\":\"https://www.npmjs.com/package/expr-eval\",\"source\":\"cret@cert.org\",\"tags\":[\"Product\"]},{\"url\":\"https://www.npmjs.com/package/expr-eval-fork\",\"source\":\"cret@cert.org\",\"tags\":[\"Product\"]},{\"url\":\"https://www.kb.cert.org/vuls/id/263614\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Third Party Advisory\"]},{\"url\":\"https://github.com/jorenbroekema/expr-eval/blob/460b820ba01c5aca6c5d84a7d4f1fa5d1913c67b/test/security.js\",\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\",\"tags\":[\"Product\"]}]}}",
    "redhat_vex": {
      "aggregate_severity": "Critical",
      "current_release_date": "2025-11-21T10:03:59+00:00",
      "cve": "CVE-2025-12735",
      "id": "CVE-2025-12735",
      "initial_release_date": "2025-11-05T00:22:55.297000+00:00",
      "product_status:known_not_affected": "2",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "expr-eval:",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-12735.json",
      "version": "3"
    },
    "vulnrichment": {
      "containers": "{\"adp\": [{\"title\": \"CVE Program Container\", \"references\": [{\"url\": \"https://www.kb.cert.org/vuls/id/263614\"}], \"providerMetadata\": {\"orgId\": \"af854a3a-2127-422b-91ae-364da2661108\", \"shortName\": \"CVE\", \"dateUpdated\": \"2025-11-08T00:11:55.078Z\"}}, {\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"cvssV3_1\": {\"scope\": \"UNCHANGED\", \"version\": \"3.1\", \"baseScore\": 9.8, \"attackVector\": \"NETWORK\", \"baseSeverity\": \"CRITICAL\", \"vectorString\": \"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H\", \"integrityImpact\": \"HIGH\", \"userInteraction\": \"NONE\", \"attackComplexity\": \"LOW\", \"availabilityImpact\": \"HIGH\", \"privilegesRequired\": \"NONE\", \"confidentialityImpact\": \"HIGH\"}}, {\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2025-12735\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"poc\"}, {\"Automatable\": \"yes\"}, {\"Technical Impact\": \"total\"}], \"version\": \"2.0.3\", \"timestamp\": \"2025-11-10T14:06:48.027568Z\"}}}], \"references\": [{\"url\": \"https://github.com/jorenbroekema/expr-eval/blob/460b820ba01c5aca6c5d84a7d4f1fa5d1913c67b/test/security.js\", \"tags\": [\"exploit\"]}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2025-11-05T18:57:21.585Z\"}}], \"cna\": {\"title\": \"CVE-2025-12735\", \"source\": {\"discovery\": \"EXTERNAL\"}, \"credits\": [{\"lang\": \"en\", \"type\": \"finder\", \"value\": \"This issue was reported by Jangwoo Choe (UKO)\"}, {\"lang\": \"en\", \"type\": \"remediation verifier\", \"value\": \"Patch validation assistance provided by GitHub user huydoppaz.\"}], \"metrics\": [{\"other\": {\"type\": \"ssvcV2_0_0\", \"content\": {\"timestamp\": \"2025-11-07T15:47:01.238Z\", \"selections\": [{\"key\": \"E\", \"name\": \"Exploitation\", \"values\": [{\"key\": \"P\", \"name\": \"Public PoC\"}], \"version\": \"1.1.0\", \"namespace\": \"ssvc\", \"definition\": \"The present state of exploitation of the vulnerability.\"}, {\"key\": \"A\", \"name\": \"Automatable\", \"values\": [{\"key\": \"Y\", \"name\": \"Yes\"}], \"version\": \"2.0.0\", \"namespace\": \"ssvc\", \"definition\": \"Can an attacker reliably automate creating exploitation events for this vulnerability?\"}, {\"key\": \"TI\", \"name\": \"Technical Impact\", \"values\": [{\"key\": \"T\", \"name\": \"Total\"}], \"version\": \"1.0.0\", \"namespace\": \"ssvc\", \"definition\": \"The technical impact of the vulnerability.\"}], \"schemaVersion\": \"2.0.0\"}}}], \"affected\": [{\"vendor\": \"silentmatt\", \"product\": \"expr-eval\", \"versions\": [{\"status\": \"affected\", \"version\": \"0\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"2.0.2\"}]}, {\"vendor\": \"expr-eval-fork\", \"product\": \"expr-eval-fork\", \"versions\": [{\"status\": \"affected\", \"version\": \"0\", \"versionType\": \"semver\", \"lessThanOrEqual\": \"3.0.0\"}]}], \"references\": [{\"url\": \"https://github.com/silentmatt/expr-eval\"}, {\"url\": \"https://github.com/jorenbroekema/expr-eval\"}, {\"url\": \"https://www.npmjs.com/package/expr-eval-fork\"}, {\"url\": \"https://www.npmjs.com/package/expr-eval\"}, {\"url\": \"https://github.com/silentmatt/expr-eval/pull/288\"}, {\"url\": \"https://github.com/advisories/GHSA-jc85-fpwf-qm7x\", \"name\": \"Github Security Advisory\", \"tags\": [\"third-party-advisory\"]}, {\"url\": \"https://kb.cert.org/vuls/id/263614\", \"name\": \"CERT/CC Advisory\", \"tags\": [\"third-party-advisory\"]}], \"x_generator\": {\"env\": \"prod\", \"engine\": \"VINCE 3.0.28\", \"origin\": \"https://cveawg.mitre.org/api/cve/CVE-2025-12735\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"The expr-eval library is a JavaScript expression parser and evaluator designed to safely evaluate mathematical expressions with user-defined variables. However, due to insufficient input validation, an attacker can pass a crafted context object or use MEMBER of the context object into the evaluate() function and trigger arbitrary code execution.\"}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"description\": \"CWE-94: Improper Control of Generation of Code (\\u2018Code Injection\\u2019)\"}]}, {\"descriptions\": [{\"lang\": \"en\", \"description\": \"CWE-1321: Improperly Controlled Modification of Object Prototype Attributes (\\u2018Prototype Pollution\\u2019)\"}]}], \"providerMetadata\": {\"orgId\": \"37e5125f-f79b-445b-8fad-9564f167944b\", \"shortName\": \"certcc\", \"dateUpdated\": \"2025-11-22T23:45:45.512Z\"}}}",
      "cveMetadata": "{\"cveId\": \"CVE-2025-12735\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2025-11-22T23:45:45.512Z\", \"dateReserved\": \"2025-11-05T00:04:49.648Z\", \"assignerOrgId\": \"37e5125f-f79b-445b-8fad-9564f167944b\", \"datePublished\": \"2025-11-05T00:22:55.297Z\", \"assignerShortName\": \"certcc\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…