Vulnerability in mathlive
Auto-generated summary
Assembled by SecPulse from the source data (CVSS, CWE, affected versions) using templates — no AI involved. Check the original description and references below for exact details.
A vulnerability tracked as CVE-2026-54705 has been found in mathlive.
Attackers can target a specific entry point like Box.toMarkup over the network to misuse the product.
Risk of unauthorized operations or information disclosure. CVSS score: 6.3/10.
What to do: upgrade mathlive to 0.110.0 or later.
If unsure, ask your IT team or search "mathlive CVE-2026-54705" on the vendor's site.
CVE-2026-54705 (mathlive) — CWE-116 / CVSS v3 6.3
Attack vector: remote (network-reachable) / no user interaction
Attack surface: Box.toMarkup / this.value / TextAtom / value
Patched: 0.110.0 — apply immediately
Plan: 1) Audit SBOM/dependencies, 2) Stage→prod upgrade, 3) Add WAF/proxy monitoring on affected endpoints, 4) Hunt IOCs in logs.
Refs: see the GHSA / vendor advisory / patched release linked on this page.
A vulnerability (CWE-116) exists in mathlive. Attackers reach the vulnerable code path via Box.toMarkup.
Check the vendor advisory for the affected versions of mathlive. Attack surface: Box.toMarkup / this.value / TextAtom / value.
Severity: Medium (CVSS 6.3/10). Risk of unauthorized operations or information disclosure.
Update to 0.110.0.
Until the patch is applied: disable the affected feature, apply WAF rules, or restrict access via network ACLs.
Search webserver/proxy logs for unusual request patterns matching this CVE's known IOCs. Run grep -r 'mathlive' . against your dependency files (package-lock.json, requirements.txt, go.sum) to find affected services.
Response actions
Concrete steps and command examples for SOC/SRE teams to execute in order
-
1
Identify exposureidentify
grep -r 'mathlive' . | grep -v node_modulesリポジトリと本番環境の依存ファイル (package-lock.json / requirements.txt / go.sum / Gemfile.lock 等) で
mathliveを grep し、稼働しているサービス・バージョンを把握する。 -
2
Apply patchpatch
Upgrade mathlive to 0.110.0ステージング環境で 0.110.0 に上げて回帰テスト → 本番反映。回帰テストはアプリの主要ハッピーパスを含めること。
-
3
Post-deployment verificationverify
Confirm patched version is live in productionパッチ適用後、ステージングで PoC または同等の悪用パターンを再現して脆弱性が閉じたことを確認。本番ではアクセスログ・WAF でアラート再発が無いか継続監視。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| npmmathlive |
< 0.110.0→ 0.110.0 |
0.110.0 |
Original description The description as published by the source.
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, , , and the default identity MathfieldElement.createHTML, allowing malicious input to run arbitrary JavaScript when rendered. This issue is fixed in version 0.110.0.
Source: GitHub Security Advisories (Global) NVD GitHub Advisory
References
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- web github.com
- web security-advisories@github.com
- web security-advisories@github.com
- web github.com