CVE-2026-54705: CWE-116: Improper Encoding or Escaping of Output in arnog mathlive
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.
AI Analysis
Technical Summary
MathLive, a web component library for math display and input, improperly escapes text-mode content in \text{} and \mbox{} commands in Box.toMarkup and related functions. This leads to a CWE-116 vulnerability where malicious input can run arbitrary JavaScript upon rendering. The vulnerability affects versions before 0.110.0 and is resolved in 0.110.0.
Potential Impact
An attacker can inject malicious JavaScript code through specially crafted input in vulnerable MathLive versions, potentially leading to cross-site scripting (XSS) attacks. This can compromise confidentiality, integrity, and availability of affected applications by executing unauthorized scripts in the context of the user.
Mitigation Recommendations
Upgrade MathLive to version 0.110.0 or later, where the vulnerability is fixed. Patch status is confirmed by the vendor's versioning. No other mitigation is specified.
CVE-2026-54705: CWE-116: Improper Encoding or Escaping of Output in arnog mathlive
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 v3.1
Score 6.3medium
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
MathLive, a web component library for math display and input, improperly escapes text-mode content in \text{} and \mbox{} commands in Box.toMarkup and related functions. This leads to a CWE-116 vulnerability where malicious input can run arbitrary JavaScript upon rendering. The vulnerability affects versions before 0.110.0 and is resolved in 0.110.0.
Potential Impact
An attacker can inject malicious JavaScript code through specially crafted input in vulnerable MathLive versions, potentially leading to cross-site scripting (XSS) attacks. This can compromise confidentiality, integrity, and availability of affected applications by executing unauthorized scripts in the context of the user.
Mitigation Recommendations
Upgrade MathLive to version 0.110.0 or later, where the vulnerability is fixed. Patch status is confirmed by the vendor's versioning. No other mitigation is specified.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-06-15T22:58:06.563Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a6a3a709c2644c7f8d4f49a
Added to database: 07/29/2026, 17:37:52 UTC
Last enriched: 07/29/2026, 17:57:07 UTC
Last updated: 07/29/2026, 18:59:18 UTC
Views: 7
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.