Vulnerability library
Security checkMay 08, 2026

mathjs Allows Improperly Controlled Modification of Dynamically-Determined Object Attributes

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

High severitynpmmathjs

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

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.

Recommendation

Update the mathjs package to the latest compatible version. Followings are version details:

  • Affected version(s): >= 13.1.0, < 15.2.0
  • Patched version(s): 15.2.0

References

Could your website be exposed too?

SmartScanner can check your website for mathjs Allows Improperly Controlled Modification of Dynamically-Determined Object Attributes and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated May 08, 2026