mathjs Allows Improperly Controlled Modification of Dynamically-Determined Object Attributes
Description
Published to the GitHub Advisory Database
Apr 10, 2026
Reviewed
Apr 10, 2026
Last updated
Apr 14, 2026
Impact
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.
Patches
The problem is patched in mathjs v15.2.0.
Workarounds
There is no workaround without upgrading.
References