Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. mathjs
  4. ›
  5. GHSA-jvff-x2qm-6286

GHSA-jvff-x2qm-6286: mathjs Allows Improperly Controlled Modification of Dynamically-Determined Object Attributes

April 10, 2026 (updated April 14, 2026)

Two security vulnerabilities, the first of which was introduced in version 13.1.0, were detected that 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

Code Behaviors & Features

Detect and mitigate GHSA-jvff-x2qm-6286 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 →

Affected versions

All versions starting from 13.1.0 before 15.2.0

Fixed versions

  • 15.2.0

Solution

Upgrade to version 15.2.0 or above.

Impact 8.8 HIGH

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

Learn more about CVSS

Weakness

  • CWE-915: Improperly Controlled Modification of Dynamically-Determined Object Attributes

Source file

npm/mathjs/GHSA-jvff-x2qm-6286.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 12:18:47 +0000.