LeakyCreds
NewInstant webhook alerts now available — notified within seconds of any credential detection.Learn more →
Home / Vulnerability Intelligence / CVE-2026-40897

CVE-2026-40897 - Vulnerability Analysis

HighCVSS: 8.8

Last Updated: April 24, 2026

Math.js - Command Injection

Published: April 24, 2026Updated: April 24, 2026Remote Exploitable

Overview

Math.js >= 13.1.1 and < 15.2.0 contains a command injection caused by unsafe evaluation in the expression parser, letting attackers execute arbitrary JavaScript code, exploit requires user to evaluate expressions.

Severity & Score

Severity: High
CVSS Score: 8.8

Impact

Attackers can execute arbitrary JavaScript code, potentially leading to full system compromise or data theft.

Mitigation

Update to version 15.2.0 or later.

Details

CVE ID
CVE-2026-40897
Severity
High
CVSS Score
8.8
Type
command_injection
Status
unconfirmed

CWE

  • CWE-915

CVSS Metrics

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H