SCA: security update for mathjs (GHSA-29qv-4j9f-fjw5)

high Tenable Cloud Security Plugin ID 440922

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- Math.js is an extensive math library for JavaScript and Node.js. From 13.1.1 to before 15.2.0, a
vulnerability allowed executing arbitrary JavaScript via the expression parser of mathjs. You can be
affected when you have an application where users can evaluate arbitrary expressions using the mathjs
expression parser. This vulnerability is fixed in 15.2.0. (CVE-2026-40897)

Solution

Update the mathjs library and its related packages to version 15.2.0 or later.

See Also

https://github.com/advisories/GHSA-29qv-4j9f-fjw5

Plugin Details

Severity: High

ID: 440922

Version: Revision 1.5

Type: Local

Family: SCA Checks

Published: 4/27/2026

Updated: 6/1/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 9

Temporal Score: 7

Vector: CVSS2#AV:N/AC:L/Au:S/C:C/I:C/A:C

CVSS Score Source: CVE-2026-40897

CVSS v3

Risk Factor: High

Base Score: 8.8

Temporal Score: 7.9

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

Temporal Vector: CVSS:3.0/E:P/RL:O/RC:C

Vulnerability Information

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 4/16/2026

Vulnerability Publication Date: 4/16/2026

Reference Information

CVE: CVE-2026-40897

cwe: CWE-915