Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-57531— Milkdown < 7.21.3 DOM XSS via innerHTML Assignment

CVSS 5.4 · Medium EPSS 0.25% · P16

Affected Version Matrix 1

VendorProductVersion RangeStatus
Milkdownmilkdown< 7.21.3affected
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-57531

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Milkdown < 7.21.3 DOM XSS via innerHTML Assignment
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Source: CVE Program / CVE List V5
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Source: CVE Program / CVE List V5

Affected Products

VendorProductAffected VersionsCPESubscribe
Milkdownmilkdown 0 ~ 7.21.3 -

II. Public POCs for CVE-2026-57531

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-57531

登录查看更多情报信息。

Patches & Fixes for CVE-2026-57531 (2)

Vendor Advisories for CVE-2026-57531 (1)

Vendor Pages for CVE-2026-57531 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-57531

No comments yet


Leave a comment