Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. mathlive
  4. ›
  5. CVE-2026-54705

CVE-2026-54705: mathlive's Lack of Escaping of HTML allows for XSS

July 29, 2026

Despite the 0.104.0 patch escaping attribute-bearing constructs (\htmlData, \href), text-content reflection was missed. The \text{}, \mbox{} commands accept arbitrary characters in their body and emit them raw and unescaped into both the HTML markup and the MathML output, leading to XSS.

References

  • github.com/advisories/GHSA-fm7p-gw32-828p
  • github.com/arnog/mathlive/commit/5fe1c46153883f9ec0249a5c8c34e64aaae9cfb8
  • github.com/arnog/mathlive/issues/3028
  • github.com/arnog/mathlive/security/advisories/GHSA-fm7p-gw32-828p
  • nvd.nist.gov/vuln/detail/CVE-2026-54705

Code Behaviors & Features

Detect and mitigate CVE-2026-54705 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 0.110.0

Fixed versions

  • 0.110.0

Solution

Upgrade to version 0.110.0 or above.

Impact 6.3 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-116: Improper Encoding or Escaping of Output

Source file

npm/mathlive/CVE-2026-54705.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:17:10 +0000.