mathjax — security advisory
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.
- Products
- mathjax
- Affected versions
- Not specified
- Fixed versions
- 2.7.4+dfsg-1
- CVEs
- CVE-2018-1999024
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 00:56 UTC · Revision 1
Source evidence
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.
osv:DEBIAN-CVE-2018-1999024
mathjax
Fixed versions: 2.7.4+dfsg-1
mathjax
Fixed versions: 2.7.4+dfsg-1
mathjax
Fixed versions: 2.7.4+dfsg-1
Complete source record
{
"id": "32a1eb4b0076d1f1e43523cb67070c748df7a91d23b4ada872efeda818e9d67f",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2018-1999024",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2018-1999024",
"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.",
"evidence": "osv:DEBIAN-CVE-2018-1999024",
"products": [
{
"name": {
"value": "mathjax",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.7.4+dfsg-1",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "mathjax",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.7.4+dfsg-1",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
},
{
"name": {
"value": "mathjax",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.7.4+dfsg-1",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": []
}
],
"severity": "medium",
"structured": {
"id": "DEBIAN-CVE-2018-1999024",
"aliases": [
"DEBIAN-CVE-2018-1999024"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.7.4+dfsg-1"
}
]
}
],
"package": {
"name": "mathjax",
"purl": "pkg:deb/debian/mathjax?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2018-1999024.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.7.4+dfsg-1"
}
]
}
],
"package": {
"name": "mathjax",
"purl": "pkg:deb/debian/mathjax?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2018-1999024.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.7.4+dfsg-1"
}
]
}
],
"package": {
"name": "mathjax",
"purl": "pkg:deb/debian/mathjax?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2018-1999024.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-23T18:03:56.954162330Z",
"provider": "osv",
"upstream": [
"CVE-2018-1999024"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2018-1999024"
]
},
"related_cves": [
{
"value": "CVE-2018-1999024",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 422733,
"published_at": "2018-07-23T16:29:00.32+00:00"
}