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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-54889— Unsanitized URL schemes in MDEx Quill Delta output allow javascript: injection (XSS)

AI Predicted 6.1 Difficulty: Easy EPSS 0.31% · P23

Affected Version Matrix 2

VendorProductVersion RangeStatus
leandrocpmdex0.8.3< 0.13.2affected
9852db2456fdc9d856eb636603a7f608e22e3793< 2817147f5b87ce7186aa604c9ee72499485b8f2faffected
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-54889

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
Unsanitized URL schemes in MDEx Quill Delta output allow javascript: injection (XSS)
Source: NVD (National Vulnerability Database)
Vulnerability Description
Improper Neutralization of Input During Web Page Generation (XSS) vulnerability in leandrocp mdex allows cross-site scripting via unsanitized URL schemes in Quill Delta output. 'Elixir.MDEx':to_delta/2 converts Markdown into a Quill Delta. 'Elixir.MDEx.DeltaConverter':default_convert_node/3 in lib/mdex/delta_converter.ex copies the URL of a link, wikilink, or image node directly from the parsed Markdown into the Delta "link" or "image" attribute without applying a scheme allowlist or any normalization. An attacker who controls the Markdown text can supply a javascript: URL (for example [click](javascript:alert(document.cookie))) that survives verbatim into the Delta attribute. When the Delta is rendered to HTML by a downstream renderer (such as quill-delta-to-html or the Quill client), the attribute becomes an <a href> or <img src>, and the javascript: scheme executes in the browser of anyone who views the rendered content. The link and wikilink cases are the strongest vectors because javascript: in an href executes on click; the image case is lower impact because javascript: in <img src> generally does not execute in modern browsers. This issue affects mdex: from 0.8.3 before 0.13.2.
Source: NVD (National Vulnerability Database)
CVSS Information
N/A
Source: NVD (National Vulnerability Database)
Vulnerability Type
在Web页面生成时对输入的转义处理不恰当(跨站脚本)
Source: NVD (National Vulnerability Database)
Vulnerability Title
leandrocp mdex 跨站脚本漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
leandrocp mdex是加拿大leandrocp个人开发者的一个依赖解析工具。 leandrocp mdex 0.8.3版本至0.13.2之前版本存在跨站脚本漏洞,该漏洞源于对输入中和不当,导致未清理的URL方案可能引起跨站脚本攻击。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
leandrocpmdex 0.8.3 ~ 0.13.2 cpe:2.3:a:leandrocp:mdex:*:*:*:*:*:*:*:*
leandrocpmdex 9852db2456fdc9d856eb636603a7f608e22e3793 ~ 2817147f5b87ce7186aa604c9ee72499485b8f2f cpe:2.3:a:leandrocp:mdex:*:*:*:*:*:*:*:*

II. Public POCs for CVE-2026-54889

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-54889

登录查看更多情报信息。

Patches & Fixes for CVE-2026-54889 (1)

Vendor Advisories for CVE-2026-54889 (3)

Same Patch Batch · leandrocp · 2026-06-29 · 6 CVEs total

CVE-2026-53429Unbounded native memory leak in mdex escaped-tag rendering enables unauthenticated denial
CVE-2026-53426Atom-table exhaustion denial-of-service via JSON parse_document in MDEx
CVE-2026-53428Unbounded memory allocation in highlight_lines range expansion in mdex
CVE-2026-53427Cross-site scripting in MDEx via unescaped highlight_lines_class code-fence attribute
CVE-2026-54888Uncontrolled recursion over deeply nested Markdown crashes the BEAM in mdex

IV. Related Vulnerabilities

V. Comments for CVE-2026-54889

No comments yet


Leave a comment