mathjax@3.1.2 vulnerabilities

Beautiful and accessible math in all browsers. MathJax is an open-source JavaScript display engine for LaTeX, MathML, and AsciiMath notation that works in all browsers. This package includes the packaged components (install mathjax-full to get the source

Direct Vulnerabilities

Known vulnerabilities in the mathjax package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • M
Regular Expression Denial of Service (ReDoS)

mathjax is an open-source JavaScript display engine for LaTeX, MathML, and AsciiMath notation that works in all modern browsers.

Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) via the components pattern and markdownPattern in MathJax.js. An attacker can cause a denial of service condition by crafting specific input that triggers inefficient regular expression evaluation. This is only exploitable if the regular expressions are applied to user input.

Note:

Users can't call these functions directly.

How to fix Regular Expression Denial of Service (ReDoS)?

There is no fixed version for mathjax.

*