Skip to main content
← All vulnerabilities
CVE-2026-54705GHSA-FM7P-GW32-828P

mathlive's Lack of Escaping of HTML allows for XSS

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.110.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

MathLive provides web components for math display and input. Prior to 0.110.0, MathLive fails to escape text-mode content in \text{} and \mbox{} commands in Box.toMarkup at src/core/box.ts, in xmlEscape, scanText, and text-mode output in src/formats/atom-to-math-ml.ts, and through convertLatexToMarkup, convertLatexToMathMl, <math-span>, <math-div>, and the default identity MathfieldElement.createHTML, allowing malicious input to run arbitrary JavaScript when rendered. This issue is fixed in version 0.110.0.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • arnog mathlive

    fixed in 0.110.0

  • mathlivenpm

    fixed in 0.110.0

References 3

GitHub · arnog/mathlive