PT-2026-64409
CVE-2026-57530
·
Published
2026-07-24
·
Updated
2026-07-27
Description by
CVSS 3.1
5.4
MediumMetricsAV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions
Milkdown versions prior to 7.21.3
Description
A stored cross-site scripting issue exists in the
@milkdown/preset-commonmark and @milkdown/components packages. Attackers with document write access can execute arbitrary JavaScript in the browser context of users who open the document or click a rendered link. This occurs because the parseMarkdown runner stores raw URL values from the remark AST as href mark attributes without validating the URL scheme. Additionally, a call to DOMPurify.sanitize() in edit-view.ts fails to sanitize bare URL strings, treating them as text nodes and allowing javascript: payloads to persist in the link-tooltip preview component and read-only mode anchor elements.Recommendations
Update to version 7.21.3 or later.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾