- Accueil
- Vulnérabilités
- CVE-2026-136129
CVE-2026-136129
Dangerous URL filter bypass via control characters in MDEx Quill Delta output (XSS)
Résumé
Incorrect Behavior Order: Validate Before Canonicalize vulnerability in leandrocp mdex allows an attacker who controls Markdown input to place javascript: and data: URLs into Quill Delta output via entity-encoded control characters. MDEx.to_delta/2 blanks link, wikilink and image URLs that its dangerous-URL check flags, but render_url/2 in lib/mdex/delta_converter.ex runs that prefix check on the entity-decoded URL without first normalizing it as a browser would. A destination such as java	script:alert(1) reaches the check with a tab inside the scheme, passes, and is emitted unchanged. Browsers remove tab, carriage return and line feed and trim leading C0 control characters and spaces when parsing a URL, so the value runs as javascript:. Only applications that place the Delta link or image value into an href or src without their own URL check are exposed. Stock Quill re-sanitizes link protocols and is not affected. This issue affects mdex: from 0.13.2 before 0.15.0.
Aucune traduction française : description d’origine affichée.
Produits et versions affectés
leandrocp (1 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| mdex | de 0.13.2 (inclus) à 0.15.0 (exclu) |
— | CNA (éditeur ou attributeur) |
Correctif
Non renseigné par l’éditeur.
Contournement
Aucun contournement renseigné.
Savoir si vous êtes touché
Aucune méthode de vérification renseignée.
Chronologie
- — Publication de la CVE (cve)
Références
- https://github.com/leandrocp/mdex/commit/75e735a26859f93c36f10d17a3119f856fe69009patch
- https://cna.erlef.org/cves/CVE-2026-136129.htmlrelated, third-party-advisory
- https://osv.dev/vulnerability/EEF-CVE-2026-136129related
- https://github.com/leandrocp/mdex/commit/2817147f5b87ce7186aa604c9ee72499485b8f2frelated
Provenance des données
- Statut
- NVD
- Date de publication
- NVD
- Description
- CNA (éditeur ou attributeur)
- Score CVSS
- CNA (éditeur ou attributeur)
- Faiblesse (CWE)
- CNA (éditeur ou attributeur)
- Vecteur CVSS
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N(CVSS 4.0, CNA:EEF)- Faiblesse
- CWE-180 · Autre (CWE-180)