Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. mathjax
  4. ›
  5. CVE-2018-1999024

CVE-2018-1999024: Cross-site Scripting

July 23, 2018 (updated September 19, 2018)

MathJax contains a Cross Site Scripting (XSS) vulnerability in the unicode{} macro that can result in potentially untrusted Javascript running within a web browser. The victim must view a page where untrusted content is processed using Mathjax.

References

  • nvd.nist.gov/vuln/detail/CVE-2018-1999024

Code Behaviors & Features

Detect and mitigate CVE-2018-1999024 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 2.7.4

Fixed versions

  • 2.7.4

Solution

Upgrade to version 2.7.4 or above.

Impact 5.4 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

npm/mathjax/CVE-2018-1999024.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:55 +0000.