MathJax < 3.0.0 Regular Expression Denial of Service

high Web App Scanning Plugin ID 115744

Synopsis

MathJax < 3.0.0 Regular Expression Denial of Service

Description

According to its self-reported version number, MathJax is prior to 3.0.0. Therefore, it may be affected by two Regular Expression Denial of Service (ReDoS) vulnerabilities in MathJax.js via the components pattern and markdownPattern. Note that the vendor disputes this issue because the regular expressions are not applied to user input.

Note that the scanner has not tested for these issues but has instead relied only on the application's self-reported version number.

Solution

Upgrade to MathJax version 3.0.0 or later.

See Also

https://github.com/mathjax/MathJax/issues/3074

Plugin Details

Severity: High

ID: 115744

Type: Version Based

Published: 10/28/2026

Updated: 10/28/2026

Scan Template: basic, full, pci, quick, scan

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.51

CVSS v2

Risk Factor: High

Base Score: 7.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:C

CVSS Score Source: CVE-2023-39663

CVSS v3

Risk Factor: High

Base Score: 7.5

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

CVSS Score Source: CVE-2023-39663

Vulnerability Information

CPE: cpe:2.3:a:mathjax:mathjax:*:*:*:*:*:*:*:*

Exploit Available: true

Exploit Ease: Exploits are available

Vulnerability Publication Date: 8/28/2023

Reference Information

CVE: CVE-2023-39663