Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-54705: CWE-116: Improper Encoding or Escaping of Output in arnog mathlive

0
Medium
VulnerabilityCVE-2026-54705cvecve-2026-54705cwe-116
Published: 07/29/2026 (07/29/2026, 17:21:20 UTC)
Source: CVE Database V5
Vendor/Project: arnog
Product: 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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
Low
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L

Affected software

GitHub Actionsmore threats →ai
arnog/mathlive
pkg:github/arnog/mathlive
Affected versions
<0.110.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/29/2026, 17:57:07 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses