Ecosyste.ms: Advisories

An open API service providing security vulnerability metadata for many open source software ecosystems.

Security Advisories: MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTNjNDgtNnBjdi04OHJt

Macro in MathJax running untrusted Javascript within a web browser

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.

Permalink: https://github.com/advisories/GHSA-3c48-6pcv-88rm
JSON: https://advisories.ecosyste.ms/api/v1/advisories/MDE2OlNlY3VyaXR5QWR2aXNvcnlHSFNBLTNjNDgtNnBjdi04OHJt
Source: GitHub Advisory Database
Origin: Unspecified
Severity: Moderate
Classification: General
Published: over 6 years ago
Updated: about 1 year ago


CVSS Score: 5.4
CVSS vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N

Identifiers: GHSA-3c48-6pcv-88rm, CVE-2018-1999024
References: Repository: https://github.com/mathjax/MathJax
Blast Radius: 17.9

Affected Packages

npm:mathjax
Dependent packages: 157
Dependent repositories: 2,044
Downloads: 747,769 last month
Affected Version Ranges: < 2.7.4
Fixed in: 2.7.4
All affected versions: 2.5.1, 2.6.1, 2.7.0, 2.7.1, 2.7.2, 2.7.3
All unaffected versions: 2.7.4, 2.7.5, 2.7.6, 2.7.7, 2.7.8, 2.7.9, 3.0.0, 3.0.1, 3.0.4, 3.0.5, 3.1.0, 3.1.1, 3.1.2, 3.1.3, 3.1.4, 3.2.0, 3.2.1, 3.2.2