Vulnerability 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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/arnog/mathlive/commit/5fe1c46153883f9ec0249a5c8c34e64aaae9cfb
- https://github.com/arnog/mathlive/issues/3028
- https://github.com/arnog/mathlive/security/advisories/GHSA-fm7p-gw32-828p
- https://github.com/arnog/mathlive/security/advisories/GHSA-fm7p-gw32-828p
FAQ
What is CVE-2026-54705?
CVE-2026-54705 is a vulnerability with a CVSS score of 6.3 (MEDIUM). 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 xmlEsca...
How severe is CVE-2026-54705?
CVE-2026-54705 has been rated MEDIUM with a CVSS base score of 6.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-54705?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.