
CVE catalog
CVE-2018-1999024
mathjax: CVE-2018-1999024
- Severity
- Medium
- Published
- Source
- [NVD] · [CVE record]
- EPSS
- 1.45% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | mathjax | sid | 2.7.9+dfsg-1 | fixed |
| Debian | mathjax | forky | 2.7.9+dfsg-1 | fixed |
| Debian | mathjax | trixie | 2.7.9+dfsg-1 | fixed |
| Debian | mathjax | bookworm | 2.7.9+dfsg-1 | fixed |
| Ubuntu | mathjax | 14.04 | 2.2-1 | vulnerable |
| Ubuntu | mathjax | 14.04 | 2.3-1 | vulnerable |
| Ubuntu | mathjax | 16.04 | 2.5.3-1 | vulnerable |
| Ubuntu | mathjax | 16.04 | 2.6.0-1 | vulnerable |
| Ubuntu | mathjax | 16.04 | 2.6.1-1 | vulnerable |
| Ubuntu | mathjax | 18.04 | 2.7.0-2ubuntu1 | vulnerable |
| Ubuntu | mathjax | 18.04 | 2.7.2+dfsg-1 | vulnerable |
| Ubuntu | mathjax | 18.04 | 2.7.3+dfsg-1 | vulnerable |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | mathjax | source | sid | 2.7.4+dfsg-1 | not yet assigned | Not reported | Not reported |
| Debian | mathjax | source | forky | 2.7.4+dfsg-1 | not yet assigned | Not reported | Not reported |
| Debian | mathjax | source | trixie | 2.7.4+dfsg-1 | not yet assigned | Not reported | Not reported |
| Debian | mathjax | source | bookworm | 2.7.4+dfsg-1 | not yet assigned | Not reported | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [fonts-mathjax]Fixed
Source package: [mathjax]
Details (2)
2.7.9+dfsg-1· all · bookwormFixed · Fixed:
2.7.4+dfsg-1dsa · mathjax · debian · bookworm; dsa · mathjax · debian · 12
2.7.9+dfsg-1· all · bookwormFixed · Fixed:
2.7.4+dfsg-1dsa · mathjax · debian · bookworm; dsa · mathjax · debian · 12
- [fonts-mathjax-extras]Fixed
Source package: [mathjax]
Details (2)
2.7.9+dfsg-1· all · bookwormFixed · Fixed:
2.7.4+dfsg-1dsa · mathjax · debian · bookworm; dsa · mathjax · debian · 12
2.7.9+dfsg-1· all · bookwormFixed · Fixed:
2.7.4+dfsg-1dsa · mathjax · debian · bookworm; dsa · mathjax · debian · 12
- [libjs-mathjax]Fixed
Source package: [mathjax]
Details (2)
2.7.9+dfsg-1· all · bookwormFixed · Fixed:
2.7.4+dfsg-1dsa · mathjax · debian · bookworm; dsa · mathjax · debian · 12
2.7.9+dfsg-1· all · bookwormFixed · Fixed:
2.7.4+dfsg-1dsa · mathjax · debian · bookworm; dsa · mathjax · debian · 12
[Debian 13 (Trixie)]
- [fonts-mathjax]Fixed
Source package: [mathjax]
Details (2)
2.7.9+dfsg-1· all · trixieFixed · Fixed:
2.7.4+dfsg-1dsa · mathjax · debian · 13
2.7.9+dfsg-1· all · trixieFixed · Fixed:
2.7.4+dfsg-1dsa · mathjax · debian · 13
- [fonts-mathjax-extras]Fixed
Source package: [mathjax]
Details (2)
2.7.9+dfsg-1· all · trixieFixed · Fixed:
2.7.4+dfsg-1dsa · mathjax · debian · 13
2.7.9+dfsg-1· all · trixieFixed · Fixed:
2.7.4+dfsg-1dsa · mathjax · debian · 13
- [libjs-mathjax]Fixed
Source package: [mathjax]
Details (2)
2.7.9+dfsg-1· all · trixieFixed · Fixed:
2.7.4+dfsg-1dsa · mathjax · debian · 13
2.7.9+dfsg-1· all · trixieFixed · Fixed:
2.7.4+dfsg-1dsa · mathjax · debian · 13
Observed: