Impact
MathLive had an improper escaping flaw (CWE‑116) in the handling of LaTeX \text{} and \mbox{} commands, allowing untrusted input to inject raw HTML and run arbitrary JavaScript when rendered.
Affected Systems
The vulnerable component is the MathLive library developed by arnog. Versions of MathLive released before 0.110.0 contain the flaw; the issue was resolved in version 0.110.0 and later.
Risk and Exploitability
The CVSS score of 6.3 indicates a moderate severity. The EPSS score of less than 1% suggests a low probability of exploitation in the wild, and the vulnerability is not currently listed in the CISA KEV catalog. The likely attack requires an attacker to supply malicious LaTeX that contains unsafe characters within \text{} or \mbox{} to any web application that renders MathLive components, which would result in the injected JavaScript executing in the victim’s browser.
OpenCVE Enrichment
Github GHSA