{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-54705","id":"CVE-2026-54705","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.createH","descriptionLong":"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.","published":"2026-07-29T17:21:20.414Z","updated":"2026-10-28T02:30:29.965017831Z","reserved":"2026-06-15T22:58:06.563Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","rating":"medium","source":"GitHub_M"},"metrics":[{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","rating":"medium","source":"GitHub_M"},{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","rating":"medium","source":"github.com"},{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","rating":"medium","source":"OSV"},{"version":"3.1","score":6.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","rating":"medium","source":"GitHub"}],"rating":"medium","products":["arnog mathlive"],"affectedProducts":[{"vendor":"arnog","product":"mathlive","defaultStatus":null,"versions":[{"version":"< 0.110.0","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"mathlive","purl":"pkg:npm/mathlive","ranges":["<0.110.0"],"fixed":["0.110.0"],"advisory":"GHSA-fm7p-gw32-828p"}],"cwes":["CWE-116"],"aliases":["GHSA-fm7p-gw32-828p"],"references":[{"url":"https://github.com/arnog/mathlive/security/advisories/GHSA-fm7p-gw32-828p","tags":["x_refsource_CONFIRM","exploit","advisory","web"]},{"url":"https://github.com/arnog/mathlive/issues/3028","tags":["x_refsource_MISC","report","web"]},{"url":"https://github.com/arnog/mathlive/commit/5fe1c46153883f9ec0249a5c8c34e64aaae9cfb8","tags":["x_refsource_MISC","fix","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54705.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54705","tags":["advisory"]},{"url":"https://github.com/arnog/mathlive","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00299,"epssPercentile":0.23056,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-54705","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54705","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-54705","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-fm7p-gw32-828p","ok":true,"note":"GHSA-fm7p-gw32-828p"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-54705","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}