CVE-2026-71436
Publiée le 2026-08-06 · Dernière modification le 2026-10-24
Les versions 10.6.0 à 10.9.7 ainsi que celles allant jusqu'à la version 11.16.0 de Mermaid sont vulnérables à une attaque par déni de service affectant les graphiques XY (XY Charts). Un attaquant peut faire planter le navigateur de l'utilisateur ou le processus JavaScript en fournissant une configuration de graphique malveillante qui déclenche une boucle infinie et épuise la mémoire. Cela ne nécessite aucun privilège particulier, mais requiert qu'un utilisateur visualise ou génère le contenu concerné.
DÉTAIL DU VECTEUR CVSS
RÉFÉRENCES
Description officielle du NVD (en anglais)
Mermaid is a JavaScript tool that uses Markdown-inspired text to create and modify diagrams and charts. From version 10.6.0 until 10.9.8 and 11.16.1, Mermaid XY Charts are vulnerable to an infinite loop denial of service in the setXAxisRangeData function when configuring an X-Axis with invalid parameters. Because each loop iteration appends an element to an array, this generally causes a RangeError to appear after a few seconds, but it may instead cause the page or JavaScript process to crash from memory exhaustion, depending on the environment. This issue is fixed in versions 10.9.8 and 11.16.1.