{"id":"EUVD-2026-38415","enisaUuid":"1cf1e205-9314-344f-888d-0b17917ae8dc","description":"All versions of the package expr-eval are vulnerable to Code Execution via the toJSFunction() API. An attacker can execute arbitrary JavaScript by supplying crafted expressions that are compiled into native code using new Function(). Because user-controlled expressions are transformed directly into executable JavaScript, attackers can escape the intended expression sandbox and run arbitrary code within the application\u0027s context.","datePublished":"Jun 23, 2026, 5:00:00 AM","dateUpdated":"Aug 14, 2026, 3:25:14 PM","baseScore":9.2,"baseScoreVersion":"4.0","baseScoreVector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","references":"https://security.snyk.io/vuln/SNYK-JS-EXPREVAL-15054690\nhttps://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-17662018\nhttps://github.com/silentmatt/expr-eval/blob/master/src/expression.js%23L55\nhttps://github.com/silentmatt/expr-eval/issues/292\n","aliases":"CVE-2026-12866\nGHSA-q9v2-7m5w-4693\n","assigner":"snyk","epss":0.87,"enisaIdProduct":[{"id":"25d7f6b2-0b8c-31da-abd2-9a1c4efcb6c5","product":{"name":"expr-eval","vendor":{"name":"silentmatt"}},"product_version":"0 \u003c*"},{"id":"5fb95c02-c95c-36dd-9dc0-a3d4b6c06691","product":{"name":"org.webjars.npm:expr-eval","vendor":{"name":"n/a"}},"product_version":"0 \u003c*"}],"enisaIdVendor":[{"id":"efb351c9-7865-32a6-b2f6-a483f36aff13","vendor":{"name":"n/a"}}],"enisaIdVulnerability":[{"id":"85ff8f2c-e1b9-3100-8808-72719329f8c6","vulnerability":{"id":"GHSA-q9v2-7m5w-4693","description":"expr-eval vulnerable to Code Execution","datePublished":"Jun 23, 2026, 6:30:41 AM","dateUpdated":"Sep 22, 2026, 2:40:53 PM","baseScore":0.0,"references":"https://nvd.nist.gov/vuln/detail/CVE-2026-12866\nhttps://github.com/silentmatt/expr-eval/issues/292\nhttps://github.com/silentmatt/expr-eval\nhttps://github.com/silentmatt/expr-eval/blob/master/src/expression.js#L55\nhttps://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-17662018\nhttps://security.snyk.io/vuln/SNYK-JS-EXPREVAL-15054690\n","enisa_id":"EUVD-2026-38415\n","aliases":"CVE-2026-12866\nGHSA-q9v2-7m5w-4693\n","epss":0.0,"dataProcessed":"Nov 15, 2026, 2:51:29 AM","vulnerabilityProduct":[],"vulnerabilityVendor":[]}},{"id":"c32b7839-d251-363a-a025-f781f0c0e12f","vulnerability":{"id":"CVE-2026-12866","description":"All versions of the package expr-eval are vulnerable to Code Execution via the toJSFunction() API. An attacker can execute arbitrary JavaScript by supplying crafted expressions that are compiled into native code using new Function(). Because user-controlled expressions are transformed directly into executable JavaScript, attackers can escape the intended expression sandbox and run arbitrary code within the application\u0027s context.","datePublished":"Jun 23, 2026, 5:00:00 AM","dateUpdated":"Aug 14, 2026, 3:25:14 PM","status":"PUBLISHED","baseScore":9.2,"baseScoreVersion":"4.0","baseScoreVector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","references":"https://security.snyk.io/vuln/SNYK-JS-EXPREVAL-15054690\nhttps://security.snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-17662018\nhttps://github.com/silentmatt/expr-eval/blob/master/src/expression.js%23L55\nhttps://github.com/silentmatt/expr-eval/issues/292\n","enisa_id":"EUVD-2026-38415\n","assigner":"snyk","epss":0.87,"dataProcessed":"Nov 15, 2026, 7:23:16 AM","vulnerabilityProduct":[{"id":"4c953431-56ce-3461-a8dd-c086a07ae443","product":{"name":"expr-eval","vendor":{"name":"silentmatt"}},"product_version":"0 \u003c*"},{"id":"5a15401c-bd32-35d7-963a-9d5bd812784a","product":{"name":"org.webjars.npm:expr-eval","vendor":{"name":"n/a"}},"product_version":"0 \u003c*"}],"vulnerabilityVendor":[{"id":"5c5a035e-5d31-3871-9970-bcf64d925f65","vendor":{"name":"n/a"}}]}}],"enisaIdAdvisory":[]}