CVE-2026-41139: mathjs Allows Improperly Controlled Modification of Dynamically-Determined Object Attributes
(updated )
This security 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.
References
- github.com/advisories/GHSA-jvff-x2qm-6286
- github.com/josdejong/mathjs
- github.com/josdejong/mathjs/commit/0aee2f61866e35ffa0aef915221cdf6b026ffdd4
- github.com/josdejong/mathjs/commit/bcf0da46f0b8577ec03c9ecd7bff8b5c2543a611
- github.com/josdejong/mathjs/pull/3656
- github.com/josdejong/mathjs/releases/tag/v15.2.0
- github.com/josdejong/mathjs/security/advisories/GHSA-jvff-x2qm-6286
- nvd.nist.gov/vuln/detail/CVE-2026-41139
Code Behaviors & Features
Detect and mitigate CVE-2026-41139 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →