MathJax version prior to version 2.7.4 contains a Cross Site Scripting (XSS)…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.0 · NVD. Fix status from CNA and GitHub. Impact type from CWE-79.
Summary
MathJax version prior to version 2.7.4 contains a Cross Site Scripting (XSS) vulnerability in the \unicode{} macro that can result in Potentially untrusted Javascript running within a web browser. This attack appear to be exploitable via The victim must view a page where untrusted content is processed using Mathjax. This vulnerability appears to have been fixed in 2.7.4 and later.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | mathjax (npm) | before 2.7.4 | 2.7.4 | Patch available | GHSA-3c48-6pcv-88rm |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- mathjax (npm) Vendor— Affected before 2.7.4 Fixed in 2.7.4 Patch available GHSA-3c48-6pcv-88rm
Remediation
- Fix · GHSA-3c48-6pcv-88rm mathjax (npm) Fixed in 2.7.4 Advisory →
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2018-1999024
- 2026-10-03 Alias added: GHSA-3c48-6pcv-88rm
References
Advisory 2
More Mathjax vulnerabilities
- TI-2023-20728 Mathjax up to v2.7.9 was discovered to contain two Regular expression Denial of Service… CVSS 3.1HIGH 7.5
Sources
- CVE-2018-1999024 · CVE Program
- CVE-2018-1999024 · NVD
- FIRST EPSS
- GHSA-3c48-6pcv-88rm · GitHub Advisory Database · CC BY 4.0
- CVE-2018-1999024 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences