Read the docs
TI-2026-39521 Aliases CVE-2026-54705GHSA-fm7p-gw32-828p

mathlive's Lack of Escaping of HTML allows for XSS

Priority MEDIUM 61CWE-116Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
Low · Low · Low
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00299 22nd percentileScored 2026-11-08
Fix Fixed mathlive (arnog): 0.110.0mathlive (npm): 0.110.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
arnogmathlivebefore 0.110.00.110.0Patch availableCNA
—mathlive (npm)before 0.110.00.110.0Patch availableGHSA-fm7p-gw32-828p
  • mathlive Vendorarnog Affected before 0.110.0 Fixed in 0.110.0 Patch available CNA
  • mathlive (npm) Vendor— Affected before 0.110.0 Fixed in 0.110.0 Patch available GHSA-fm7p-gw32-828p

Remediation

  • Fix · CNA mathlive (arnog) Fixed in 0.110.0
  • Fix · GHSA-fm7p-gw32-828p mathlive (npm) Fixed in 0.110.0 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-54705
  2. 2026-10-03 Alias added: GHSA-fm7p-gw32-828p

References

Sources