{"id":"CVE-2026-54705","revision":"8297641b55994de6ad240c933595a0f2","records":[{"revision":"8297641b55994de6ad240c933595a0f2","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-54705","aliases":[],"title":"mathlive's Lack of Escaping of HTML allows for XSS","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.","state":0,"publishedAt":"2026-07-29T17:21:20.414+00:00","modifiedAt":"2026-07-29T17:54:49.618+00:00","affected":[{"ecosystem":"Vendor product","name":"mathlive","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"arnog\",\n                    \"product\": \"mathlive\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 0.110.0\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 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,"severity":"MEDIUM"}],"references":["https://github.com/arnog/mathlive/security/advisories/GHSA-fm7p-gw32-828p","https://github.com/arnog/mathlive/issues/3028","https://github.com/arnog/mathlive/commit/5fe1c46153883f9ec0249a5c8c34e64aaae9cfb8"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-54705","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-54705","identifiers":["CVE-2026-54705"]},"retained":false,"historicalAffected":[]}],"coverage":[]}