7.5high
MathJax Regular expression Denial of Service (ReDoS)
- Severity
- 7.5high CVSS:3.1 by NVD
- Exploit likelihood
- 0.82% (higher than 58% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
- Also known as
- GHSA-v638-q856-grg8
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| mathjax (npm) | up to 2.7.9 | GitHub Advisory Database |
| mathjax mathjax | up to 2.7.9 | NVD |
All scores
| GitHub | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| NVD | 7.5high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Classification
SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact partial.
What each source says
CVE List
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.
NVD (es)
** DISPUTA ** Se descubrió que Mathjax hasta la versión v2.7.9 contenía dos expresiones Regulares de Denegación de Servicio (ReDoS) vulnerabilidades en MathJax.js a través del patrón de componentes y markdownPattern. NOTA: el proveedor cuestiona esto porque las expresiones regulares no se aplican a la entrada del usuario; Por lo tanto, no hay riesgo.
References
| https://github.com/mathjax/MathJax/issues/3074 | exploit, issue-tracking, vendor-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2023-39663 | advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2023-39663 changed 2024-10-02 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-v638-q856-grg8 changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2023-39663 changed 2026-06-17 | Public domain |