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.
CVE-2026-57530
Score 5.4 from GitHub Security Advisory published 2026-07-24. a secondary CVSS source baseline 5.4; sources differ by 0.0.
- Lower severity and no public exploit yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 5.4
- EG Score
- 5.4(medium)
- EG Risk
- 24(Track)EG Risk 24/100SSVC: Track
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity54% × 45%Exploitation0% × 40%Automatability0% × 15%Action: Routine — remediate on your standard cadence. - EPSS PROB
- 0%
- EPSS %ILE
- 7%
- KEV
- Not listed
Published
July 24, 2026
Last Modified
July 27, 2026
Advisory Details (4)
Auto-updated Jul 25, 2026Milkdown < 7.21.3 Stored XSS via javascript: URL in link href | Advisories | VulnCheck
https://www.vulncheck.com/advisories/milkdown-stored-xss-via-javascript-url-in-link-hrefcommit db1ae721854a (Milkdown/milkdown)
Patch available: Milkdown/milkdown v7.21.3 (contains commit db1ae721854a)
https://github.com/Milkdown/milkdown/commit/db1ae721854a0ab2f188b83cf8695702966640f1fix: sanitize unsafe link hrefs and emoji html to prevent stored XSS
Patch available: Milkdown/milkdown v7.21.3 (PR #2410 merged 2026-07-12)
https://github.com/Milkdown/milkdown/pull/2410v7.21.3
Patch available: Milkdown/milkdown v7.21.3
https://github.com/Milkdown/milkdown/releases/tag/v7.21.3Vendor Advisories for CVE-2026-57530(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 15× in last 7d / 75× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-08-30 01:22 UTCEPSS rescore
- 2026-08-30 00:16 UTCEG score recompute
- 2026-08-30 00:16 UTCGHSA enrichment
- 2026-08-28 21:42 UTCEPSS rescore
- 2026-08-27 21:06 UTCEG score recompute
- 2026-08-27 21:06 UTCGHSA enrichment
- 2026-08-27 14:25 UTCEPSS rescore
- 2026-08-26 19:52 UTCEG score recompute
- 2026-08-26 19:52 UTCGHSA enrichment
- 2026-08-26 14:46 UTCEPSS rescore
- 2026-08-25 18:16 UTCGHSA enrichment
- 2026-08-24 18:28 UTCEG score recompute
- 2026-08-24 18:28 UTCGHSA enrichment
- 2026-08-23 18:48 UTCEG score recompute
- 2026-08-23 18:48 UTCGHSA enrichment
- 2026-08-23 00:19 UTCEPSS rescore
- 2026-08-22 19:11 UTCEG score recompute
- 2026-08-22 19:11 UTCGHSA enrichment
- 2026-08-21 23:49 UTCEPSS rescore
- 2026-08-21 19:34 UTCEG score recompute
- 2026-08-21 19:34 UTCGHSA enrichment
- 2026-08-20 22:55 UTCEPSS rescore
- 2026-08-20 19:56 UTCGHSA enrichment
- 2026-08-19 20:17 UTCEG score recompute
- 2026-08-19 20:17 UTCGHSA enrichment
Show 72 moreShow fewer
- 2026-08-19 17:04 UTCEPSS rescore
- 2026-08-18 18:52 UTCEG score recompute
- 2026-08-18 18:52 UTCGHSA enrichment
- 2026-08-18 13:48 UTCEPSS rescore
- 2026-08-17 14:06 UTCEG score recompute
- 2026-08-17 14:06 UTCGHSA enrichment
- 2026-08-17 13:47 UTCEPSS rescore
- 2026-08-16 14:56 UTCEPSS rescore
- 2026-08-16 14:29 UTCEG score recompute
- 2026-08-16 14:29 UTCGHSA enrichment
- 2026-08-16 02:14 UTCEPSS rescore
- 2026-08-15 14:52 UTCEG score recompute
- 2026-08-15 14:52 UTCGHSA enrichment
- 2026-08-15 01:30 UTCEPSS rescore
- 2026-08-14 15:15 UTCEG score recompute
- 2026-08-14 15:15 UTCGHSA enrichment
- 2026-08-13 22:00 UTCEPSS rescore
- 2026-08-13 15:37 UTCGHSA enrichment
- 2026-08-12 15:55 UTCEG score recompute
- 2026-08-12 15:55 UTCGHSA enrichment
- 2026-08-12 13:51 UTCEPSS rescore
- 2026-08-11 16:18 UTCEG score recompute
- 2026-08-11 16:18 UTCGHSA enrichment
- 2026-08-11 00:00 UTCEPSS rescore
- 2026-08-10 16:40 UTCGHSA enrichment
- 2026-08-09 16:45 UTCEG score recompute
- 2026-08-09 16:45 UTCGHSA enrichment
- 2026-08-09 13:46 UTCEPSS rescore
- 2026-08-08 17:08 UTCEG score recompute
- 2026-08-08 17:08 UTCGHSA enrichment
- 2026-08-08 16:37 UTCEPSS rescore
- 2026-08-07 17:30 UTCEG score recompute
- 2026-08-07 17:30 UTCGHSA enrichment
- 2026-08-06 17:53 UTCEG score recompute
- 2026-08-06 17:53 UTCGHSA enrichment
- 2026-08-06 13:47 UTCEPSS rescore
- 2026-08-05 19:17 UTCEPSS rescore
- 2026-08-05 18:16 UTCGHSA enrichment
- 2026-08-04 18:38 UTCEG score recompute
- 2026-08-04 18:38 UTCGHSA enrichment
- 2026-08-04 15:10 UTCEPSS rescore
- 2026-08-04 10:39 UTCEPSS rescore
- 2026-08-03 19:00 UTCEG score recompute
- 2026-08-03 19:00 UTCGHSA enrichment
- 2026-08-03 10:36 UTCEPSS rescore
- 2026-08-02 19:23 UTCEG score recompute
- 2026-08-02 19:23 UTCGHSA enrichment
- 2026-08-02 02:27 UTCEPSS rescore
- 2026-08-01 19:46 UTCGHSA enrichment
- 2026-07-31 20:08 UTCGHSA enrichment
- 2026-07-30 20:31 UTCEG score recompute
- 2026-07-30 20:31 UTCGHSA enrichment
- 2026-07-30 16:28 UTCEPSS rescore
- 2026-07-30 01:30 UTCEPSS rescore
- 2026-07-30 01:30 UTCEPSS rescore
- 2026-07-29 20:06 UTCGHSA enrichment
- 2026-07-28 20:22 UTCEG score recompute
- 2026-07-28 20:21 UTCGHSA enrichment
- 2026-07-28 15:37 UTCEPSS rescore
- 2026-07-27 20:43 UTCEG score recompute
- 2026-07-27 20:43 UTCGHSA enrichment
- 2026-07-27 14:14 UTCEPSS rescore
- 2026-07-27 02:34 UTCEG score recompute
- 2026-07-27 02:34 UTCGHSA enrichment
- 2026-07-26 14:54 UTCEPSS rescore
- 2026-07-26 14:54 UTCEPSS rescore
- 2026-07-26 02:56 UTCEG score recompute
- 2026-07-26 02:55 UTCGHSA enrichment
- 2026-07-25 14:18 UTCEPSS rescore
- 2026-07-25 14:18 UTCEPSS rescore
- 2026-07-24 19:42 UTCEG score recompute
- 2026-07-24 19:42 UTCMITRE cvelistV5first tracked
Related CVEs(same CWE)
Frequently asked(5)
What is CVE-2026-57530?
When was CVE-2026-57530 disclosed?
Is CVE-2026-57530 actively exploited?
What is the CVSS score of CVE-2026-57530?
How do I remediate CVE-2026-57530?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-57530
Is Your Infrastructure Affected by CVE-2026-57530?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.