{"vuln_id":"CVE-2026-54889","aliases":["GHSA-4383-7xfp-gpph"],"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.\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.","published_at":"2026-06-29T20:17:39.407000Z","modified_at":"2026-11-24T05:18:25.087000Z","first_seen_at":"2026-11-24T06:34:52.564775Z","severity":"medium","severity_source":"nvd","cvss_score":5.1,"cvss_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","cwe":["CWE-79"],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":0.00393,"epss_percentile":0.34258,"nvd_status":"Deferred","enriched_at":null,"links":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-54889"},"matched_alias":null,"items":[{"id":17677,"source":{"id":"nvd","name":"NVD CVE API 2.0"},"title":"CVE-2026-54889: Improper Neutralization of Input During Web Page Generation (XSS) vulnerability in leandrocp mdex allows cross-site scripting via unsanitized URL schemes in Qu…","summary":"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. MDEx.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. 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 or , 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 generally does not execute in modern browsers. This issue affects mdex: from 0.8.3 before 0.13.2. References: https://cna.erlef.org/cves/CVE-2026-54889.html https://github.com/leandrocp/mdex/commit/2817147f5b87ce7186aa604c9ee72499485b8f2f https://github.com/leandrocp/mdex/commit/9852db2456fdc9d856eb636603a7f608e22e3793 https://github.com/leandrocp/mdex/security/advisories/GHSA-4383-7xfp-gpph https://osv.dev/vulnerability/EEF-CVE-2026-54889 https://github.com/leandrocp/mdex/security/advisories/GHSA-4383-7xfp-gpph","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54889","published_at":"2026-06-29T20:17:39.407000Z","updated_at":"2026-11-24T05:18:25.087000Z","fetched_at":"2026-11-24T06:34:52.508909Z","severity":"medium","cvss_score":5.1,"epss":0.00393,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":null,"product":null,"vuln_id":"CVE-2026-54889","vuln_ids":["CVE-2026-54889","GHSA-4383-7XFP-GPPH"],"tags":["CWE-79"],"cluster_id":15589,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/17677","html":"https://vulnwatch.ve1ve2.com/item/17677"}}]}