Vulnerabilities / CVE-2025-12735

critical

CVE-2025-12735

The expr-eval library is a JavaScript expression parser and evaluator designed to safely evaluate mathematical…

Published Modified CWE 94
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

GHSA8.6CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Red Hat9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Trivy's own label is CRITICAL. Rated critical by Red Hat. Rated lower by GHSA (high).

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.

Affected packages and fixed versions

SourcePackageFixed in
chainguardkibana-8.19, kibana-9.0, kibana-9.28.19.15-r0 and 2 more
minimoskibana-8.19, kibana-9.28.19.15-r0 and 1 more
npm::GitHub Security Advisory npmexpr-eval, expr-eval-fork3.0.1
Show all 7 entries from 3 sources
SourcePackageFixed in
chainguardkibana-8.198.19.15-r0
chainguardkibana-9.09.0.8-r32
chainguardkibana-9.29.2.5-r0
minimoskibana-8.198.19.15-r0
minimoskibana-9.29.2.5-r0
npm::GitHub Security Advisory npmexpr-evalno fix listed
npm::GitHub Security Advisory npmexpr-eval-fork3.0.1

References

All 14 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.