Read the docs

MathJax version prior to version 2.7.4 contains a Cross Site Scripting (XSS)…

Priority LOW 27CWE-79Published · Updated

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

EPSS 0.01448 73rd percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed mathjax (npm): 2.7.4

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
—mathjax (npm)before 2.7.42.7.4Patch availableGHSA-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

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:mathjax:mathjax:*:*:*:*:*:*:*:*before 2.7.4VulnerableMathjax
  • cpe:2.3:a:mathjax:mathjax:*:*:*:*:*:*:*:* Versions before 2.7.4 Vulnerable ·Mathjax

Remediation

  • Fix · GHSA-3c48-6pcv-88rm mathjax (npm) Fixed in 2.7.4 Advisory →

Vendor assessments

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-10-02 Threatist record created from CVE-2018-1999024
  2. 2026-10-03 Alias added: GHSA-3c48-6pcv-88rm

References

  • 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