CVEvulnerability
CVE-2026-54705
6.3 MEDIUM
Official page ↗
- Status
- Deferred
- Published
- 2026-07-29
- Last modified
- 2026-10-24
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 6.3 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
- Weaknesses
- CWE-116
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.
Related
Weakness · CWE (1)
- CWE-116 Improper Encoding or Escaping of Output weakness
References
- https://github.com/arnog/mathlive/commit/5fe1c46153883f9ec0249a5c8c34e64aaae9cfb8 github.com
- https://github.com/arnog/mathlive/issues/3028 github.com
- https://github.com/arnog/mathlive/security/advisories/GHSA-fm7p-gw32-828p github.com
- https://github.com/arnog/mathlive/security/advisories/GHSA-fm7p-gw32-828p github.com