Vulnerability library
Security checkJanuary 31, 2024

MathJax Regular expression Denial of Service (ReDoS)

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

High severitynpmmathjax

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

Description

Mathjax up to v2.7.9 was discovered to contain two Regular expression Denial of Service (ReDoS) vulnerabilities in MathJax.js via the components pattern and markdownPattern. NOTE: the vendor disputes this because the regular expressions are not applied to user input; thus, there is no risk.

Recommendation

No fix is available yet. Followings are affected versions:

  • <= 2.7.9

References

Could your website be exposed too?

SmartScanner can check your website for MathJax Regular expression Denial of Service (ReDoS) and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated January 31, 2024