Description · from the CVE record

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

ProductAffectedFixed inSource
expr-eval≤ 2.0.2–CNA
expr-eval-fork≤ 3.0.0–CNA

Scores by source

CISA ADP9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CISA ADPSSVCExploitation: poc · Automatable: yes · Technical impact: total

References

refgithub.com/silentmatt/expr-evalrefgithub.com/jorenbroekema/expr-evalrefnpmjs.com/package/expr-eval-forkrefnpmjs.com/package/expr-evalrefgithub.com/silentmatt/expr-eval/pull/288writeupgithub.com/advisories/GHSA-jc85-fpwf-qm7xwriteupkb.cert.org/vuls/id/263614exploitgithub.com/jorenbroekema/expr-eval/blob/460b820ba01c5aca6c5d84a7d4f1fa5d1913c67b/test/security.jsrefkb.cert.org/vuls/id/263614