{"cve":"CVE-2026-54705","nvd":{"published":"2026-07-29T18:16:54.857","modified":"2026-10-24T13:10:00.147","status":"Deferred","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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","score":6.3},"cwes":["CWE-116"],"references":["https://github.com/arnog/mathlive/commit/5fe1c46153883f9ec0249a5c8c34e64aaae9cfb8","https://github.com/arnog/mathlive/issues/3028","https://github.com/arnog/mathlive/security/advisories/GHSA-fm7p-gw32-828p","https://github.com/arnog/mathlive/security/advisories/GHSA-fm7p-gw32-828p"],"products":[],"source":"nvd","synced_at":"2026-10-24T16:53:27.712498749+00:00"},"epss":{"cve":"CVE-2026-54705","score":0.00256,"percentile":0.17052,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-fm7p-gw32-828p","url":"https://osv.dev/vulnerability/GHSA-fm7p-gw32-828p","summary":"mathlive's Lack of Escaping of HTML allows for XSS","modified":"2026-07-29T17:41:44.693943Z","packages":[{"ecosystem":"npm","name":"mathlive","purl":"pkg:npm/mathlive","ranges":["<0.110.0"],"fixed":["0.110.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}