CVE-2023-39663
HIGH 7.5CVSS 3.1MathJax Regular expression Denial of Service (ReDoS)
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.
- Published
- 29 Aug 2023
- Last modified
- 10 Sep 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-1333
- Also known as
- GHSA-v638-q856-grg8
- Sources
- NVDJSONOSV GHSA-v638-q856-grg8JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | mathjax | mathjaxcpe:2.3:a:mathjax:mathjax:*:*:*:*:*:*:*:* |
<= 2.7.9 | |
| OSV | npm | mathjax | <= 2.7.9 |
References
- https://github.com/mathjax/MathJax/issues/3074 · Exploit, Issue Tracking, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-39663 · ADVISORY
History
- 25 Nov 2026 20:36 UTC · NVD: first stored (published 29 Aug 2023)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 29 Aug 2023)