CVE-2026-54705

MEDIUM

MathLive < 0.110.0 - Cross-Site Scripting via HTML Escaping Failure

Title source: manual
STIX 2.1

Description

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.

Scores

CVSS v3 6.3
EPSS 0.0021
EPSS Percentile 11.2%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact partial

Details

CWE
CWE-116
Status published
Products (2)
arnog/mathlive < 0.110.0
npm/mathlive 0 - 0.110.0npm
Published Jul 29, 2026
Tracked Since Jul 29, 2026