{
  "id": "CVE-2025-12735",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-12735",
  "published_at": "2025-11-05T00:22:55.297Z",
  "title": "CVE-2025-12735",
  "vendor": "silentmatt",
  "product": "expr-eval",
  "cvss": {
    "score": 9.8,
    "source": "cisa-adp",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2025-11-20T23:52:55Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 16,
    "repo": "alnashawatirohwederb2167-max/cve-2025-12735-expr-eval-rce",
    "source": "github"
  },
  "poc_repo_count": 2,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "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.",
  "cwe": "CWE-94",
  "cpes": [
    "cpe:2.3:a:jorenbroekema:javascript_expression_evaluator:3.0.0:*:*:*:*:node.js:*:*",
    "cpe:2.3:a:silentmatt:javascript_expression_evaluator:*:*:*:*:*:node.js:*:*"
  ],
  "cvss_by_source": {
    "cisa-adp": 9.8
  },
  "repos": [
    {
      "repo": "alnashawatirohwederb2167-max/cve-2025-12735-expr-eval-rce",
      "url": "https://github.com/alnashawatirohwederb2167-max/cve-2025-12735-expr-eval-rce",
      "created_at": "2025-11-20T23:52:55Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2025-09-11T18:25:48Z"
    },
    {
      "repo": "AN5I/cve-2025-12735-expr-eval-rce",
      "url": "https://github.com/AN5I/cve-2025-12735-expr-eval-rce",
      "created_at": "2025-11-21T00:20:41Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 15,
      "suspicious": false,
      "suspicion_reasons": [
        "owner account created less than 30 days before the repo"
      ],
      "status": "analyzed",
      "owner_created_at": "2025-11-11T15:00:48Z"
    },
    {
      "repo": "alecasg555/safe-expr-eval",
      "url": "https://github.com/alecasg555/safe-expr-eval",
      "created_at": "2025-11-27T15:22:28Z",
      "first_seen_at": "2026-11-14T14:50:35.824Z",
      "stars": 4,
      "is_poc": "no",
      "kind": "unrelated",
      "suspicion_score": 15,
      "suspicious": false,
      "suspicion_reasons": [
        "no network code found (normal for a local exploit)"
      ],
      "status": "analyzed",
      "owner_created_at": "2021-03-24T22:20:41Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "silentmatt",
        "product": "expr-eval",
        "ranges": [
          "\u003c= 2.0.2"
        ],
        "fixed_in": null
      },
      {
        "vendor": "expr-eval-fork",
        "product": "expr-eval-fork",
        "ranges": [
          "\u003c= 3.0.0"
        ],
        "fixed_in": null
      },
      {
        "vendor": "",
        "product": "expr-eval",
        "ranges": [
          "\u003c= 2.0.2"
        ],
        "fixed_in": null,
        "ecosystem": "npm",
        "advisory": "GHSA-jc85-fpwf-qm7x"
      },
      {
        "vendor": "",
        "product": "expr-eval-fork",
        "ranges": [
          "\u003c 3.0.1"
        ],
        "fixed_in": [
          "3.0.1"
        ],
        "ecosystem": "npm",
        "advisory": "GHSA-jc85-fpwf-qm7x"
      }
    ],
    "upgrade": [
      "Upgrade expr-eval-fork to 3.0.1 or later."
    ],
    "references": [
      {
        "kind": "Patch",
        "url": "https://github.com/silentmatt/expr-eval/pull/288"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/advisories/GHSA-jc85-fpwf-qm7x"
      }
    ]
  },
  "exploit_refs": [
    {
      "url": "https://github.com/jorenbroekema/expr-eval/blob/460b820ba01c5aca6c5d84a7d4f1fa5d1913c67b/test/security.js",
      "source": "cvelist",
      "title": "",
      "published_at": null,
      "first_seen_at": "2026-11-14T21:44:13.198Z"
    }
  ],
  "hunt_profile": [],
  "rules": []
}
