CVE-2026-54889
Last modified
CVE-2026-54889 is a medium-severity vulnerability rated 5.1/10 on the CVSS scale. 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. EPSS estimates a 0.31% chance of exploitation in the next 30 days.
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.
Metrics
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| leandrocp | mdex | >= 0.8.3, < 0.13.2 |
| leandrocp | mdex | >= 9852db2456fdc9d856eb636603a7f608e22e3793, < 2817147f5b87ce7186aa604c9ee72499485b8f2f |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-54889?
How severe is CVE-2026-54889?
How do I fix CVE-2026-54889?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-54876Issue summary: A malicious TLS server can cause a memory lea…7.5
- CVE-2026-5488The ExactMetrics – Google Analytics Dashboard for WordPress …5.3
- CVE-2026-54885Server-Side Request Forgery vulnerability in malach-it Borut…6.9
- CVE-2026-54886Loop with Unreachable Exit Condition ('Infinite Loop') vulne…4.3
- CVE-2026-54887Use of Default Cryptographic Key vulnerability in Erlang/OTP…4.8
- CVE-2026-54888Uncontrolled Recursion vulnerability in leandrocp mdex allow…6.9
- CVE-2026-5489DriveLock Directory Traversal Information Disclosure Vulnera…5.3
- CVE-2026-54890Integer Underflow (Wrap or Wraparound) vulnerability in erla…7.5
- CVE-2026-54891Improper Enforcement of Message Integrity During Transmissio…3.7
- CVE-2026-54892Inefficient algorithmic complexity in Plug's nested-paramete…8.7
- CVE-2026-54893URL path injection in the Microsoft Graph adapter of Swoosh.…2.1
- CVE-2026-54894Allocation of Resources Without Limits or Throttling in uebe…7.5
Are you affected by CVE-2026-54889?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
