All reports
Critical

Arbitrary Code Execution in mathjs

Affected versions

Affected versions
< 3.17.0
Fixed version
3.17.0

Exploitation

CVE-2017-1001002

Probability of exploitation in the next 30 days: 2.36%

FIRST EPSS · 2026-11-23

Description

math.js before 3.17.0 had an arbitrary code execution in the JavaScript engine. Creating a typed function with JavaScript code in the name could result arbitrary execution.

Recommendation

Update to version 3.17.0 or later.

Links