PT-2026-64410

CVE-2026-57531

·

Published

2026-07-24

·

Updated

2026-07-27

Description by

CVSS 3.1
5.4
Medium
MetricsAV: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 DOM cross-site scripting issue exists in the @milkdown/plugin-emoji package. Unauthenticated attackers can execute arbitrary JavaScript in the host application origin by tricking a victim into pasting attacker-controlled content. The parseDOM.getAttrs handler stores the raw innerHTML of pasted span elements containing data-type="emoji" without sanitization. Subsequently, the toMarkdown runner assigns this unsanitized value directly to a live DOM element's innerHTML, which bypasses the DOMPurify sanitization used in the toDOM path and triggers payload execution during every markdown serialization cycle.
Recommendations Update to version 7.21.3 or later.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
Found an issue in the description? Have something to add? Feel free to write us 👾