{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-57530","published":"2026-07-24T20:18:02.893000Z","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-57530/","html_en":"/en/cve/CVE-2026-57530/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-57530","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-57530"},"untrusted":{"vendor_name":"Milkdown","product_name":"milkdown","desc_en":"Milkdown before 7.21.3 contains a stored cross-site scripting vulnerability in the @milkdown/preset-commonmark and @milkdown/components packages that allows attackers with document write access to execute arbitrary JavaScript in the browser context of any user who opens the document or clicks a rendered link. The parseMarkdown runner stores raw URL values from the remark AST as href mark attributes without URL scheme validation, and the ineffective DOMPurify.sanitize call in edit-view.ts treats the bare URL string as a text node and returns it unchanged, allowing javascript: payloads to pass through the link-tooltip preview component and read-only mode anchor elements unmodified.","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/components","tags":[]},{"url":"https://www.npmjs.com/package/@milkdown/preset-commonmark","tags":[]},{"url":"https://www.vulncheck.com/advisories/milkdown-stored-xss-via-javascript-url-in-link-href","tags":[]}]}}