{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-54889","published":"2026-06-29T20:17:39.407000Z","last_modified":"2026-11-24T05:18:25.087000Z","status":"Deferred","cvss":{"version":"4.0","score":5.1,"severity":"MEDIUM","vector":"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","source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db","primary":false},"auth":false,"cwes":["CWE-79"],"cpes":[],"cpes_truncated":false,"vendors":["leandrocp"],"products":["leandrocp/mdex"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"EEF-CVE-2026-54889","ecosystem":"Hex","name":"mdex","purl":"pkg:hex/mdex","ranges":[{"introduced":"0.8.3","fixed":"0.13.2"}],"versions":["0.10.0","0.11.0","0.11.1","0.11.2","0.11.3","0.11.4","0.11.5","0.11.6","0.11.7","0.12.0","0.12.1","0.12.2","0.12.3","0.12.4","0.12.5","0.13.0","0.13.1","0.8.3","0.8.4","0.8.5","0.8.6","0.9.0","0.9.1","0.9.2","0.9.3","0.9.4"],"versions_truncated":false}],"severity":"medium","priority_score":46,"links":{"html_es":"/es/cve/CVE-2026-54889/","html_en":"/en/cve/CVE-2026-54889/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-54889","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-54889"},"untrusted":{"vendor_name":"leandrocp","product_name":"mdex","desc_en":"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.\n\nMDEx.to_delta/2 converts Markdown into a Quill Delta. 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.\n\nAn 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.\n\nThis issue affects mdex: from 0.8.3 before 0.13.2.","affected":[{"untrusted_vendor":"leandrocp","untrusted_product":"mdex","versions":[]}],"references":[{"url":"https://cna.erlef.org/cves/CVE-2026-54889.html","tags":[]},{"url":"https://github.com/leandrocp/mdex/commit/2817147f5b87ce7186aa604c9ee72499485b8f2f","tags":[]},{"url":"https://github.com/leandrocp/mdex/commit/9852db2456fdc9d856eb636603a7f608e22e3793","tags":[]},{"url":"https://github.com/leandrocp/mdex/security/advisories/GHSA-4383-7xfp-gpph","tags":[]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-54889","tags":[]}]}}