Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.6%top 56%

CVE-2026-41139: CWE-915: Improperly Controlled Modification of Dynamically-Determined Object Attributes in josdejong mathjs

0
High
VulnerabilityCVE-2026-41139cvecve-2026-41139cwe-915
Published: 05/07/2026 (05/07/2026, 05:06:28 UTC)
Source: CVE Database V5
Vendor/Project: josdejong
Product: mathjs

Description

Math.js is an extensive math library for JavaScript and Node.js. From version 13.1.0 to before version 15.2.0, arbitrary JavaScript can be executed via the expression parser of mathjs. This issue has been patched in version 15.2.0.

CVSS v3.0

Score 8.8high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected software

mathjs
pkg:npm/mathjs
Affected versions
>=13.1.0 <15.2.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/15/2026, 09:13:53 UTC

Technical Analysis

CVE-2026-41139 affects the mathjs library for JavaScript and Node.js, specifically versions >=13.1.0 and <15.2.0. The vulnerability arises from CWE-915 (Improperly Controlled Modification of Dynamically-Determined Object Attributes) and CWE-94 (Improper Control of Generation of Code), enabling arbitrary JavaScript code execution through the expression parser. This can lead to full confidentiality, integrity, and availability impacts. The issue has been patched in version 15.2.0. The Red Hat advisory confirms the vulnerability but does not explicitly state remediation level beyond the patch availability.

Potential Impact

Successful exploitation allows an attacker with at least low privileges (PR:L) and no user interaction (UI:N) to execute arbitrary JavaScript code remotely (AV:N), resulting in complete compromise of confidentiality, integrity, and availability of the affected system or application using the vulnerable mathjs versions.

Mitigation Recommendations

Upgrade mathjs to version 15.2.0 or later, where this vulnerability has been patched. Patch status is confirmed by the vendor advisory. No alternative mitigations or temporary fixes are indicated.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-04-17T12:59:15.738Z
Cvss Version
3.0
State
PUBLISHED
Remediation Level
null
Vendor Advisory Urls
[{"url":"https://access.redhat.com/security/cve/CVE-2026-41139","vendor":"Red Hat"}]

Threat ID: 69fc24d8cbff5d86109abcb2

Added to database: 05/07/2026, 05:36:24 UTC

Last enriched: 07/15/2026, 09:13:53 UTC

Last updated: 07/31/2026, 19:22:58 UTC

Views: 143

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses