{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-57531","published":"2026-07-24T20:18:03.530000Z","last_modified":"2026-07-27T20:37:34.230000Z","status":"Deferred","cvss":{"version":"4.0","score":5.1,"severity":"MEDIUM","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","source":"disclosure@vulncheck.com","primary":false},"auth":true,"cwes":["CWE-79"],"cpes":[],"cpes_truncated":false,"vendors":["milkdown"],"products":["milkdown/milkdown"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"medium","priority_score":31,"links":{"html_es":"/es/cve/CVE-2026-57531/","html_en":"/en/cve/CVE-2026-57531/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-57531","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-57531"},"untrusted":{"vendor_name":"Milkdown","product_name":"milkdown","desc_en":"Milkdown before 7.21.3 contains a DOM cross-site scripting vulnerability in the @milkdown/plugin-emoji package that allows unauthenticated attackers to execute arbitrary JavaScript in the host application's origin by causing a victim to paste attacker-controlled content. The parseDOM.getAttrs handler stores raw innerHTML of pasted span elements with data-type=\"emoji\" without sanitization, and the toMarkdown runner subsequently assigns this unsanitized value directly to a live DOM element's innerHTML, bypassing the DOMPurify sanitization used in the toDOM path, causing payload execution on every markdown serialization cycle.","affected":[{"untrusted_vendor":"Milkdown","untrusted_product":"milkdown","versions":[]}],"references":[{"url":"https://github.com/Milkdown/milkdown/commit/db1ae721854a0ab2f188b83cf8695702966640f1","tags":[]},{"url":"https://github.com/Milkdown/milkdown/pull/2410","tags":[]},{"url":"https://github.com/Milkdown/milkdown/releases/tag/v7.21.3","tags":[]},{"url":"https://www.npmjs.com/package/@milkdown/plugin-emoji","tags":[]},{"url":"https://www.vulncheck.com/advisories/milkdown-dom-xss-via-innerhtml-assignment","tags":[]}]}}