Direct naar de inhoud
⚡ Kritieke cyberalerts voor jouw sector & systemen — direct in je inbox. Aanmelden →
CVE's Videos Dagbriefing

← Terug naar CVE-database

CVE-2026-44897

MEDIUM · 6.1 CVSS Gepubliceerd: CWE-79

Beschrijving NL

Mistune is een Python Markdown-parser met renderers en plug-ins. Voorafgaand aan 3.2.1 bouwtHTMLRenderer.heading () de openingstag door de ID-attribuutwaarde rechtstreeks in de HTML te combineren — zonder aanroep om te ontsnappen(), safe_entity() of een andere ontsmettingsfunctie. Een dubbel aanhalingsteken " in de id-waarde beëindigt het attribuut, waardoor een aanvaller willekeurige extra attributen (event handlers, src=, href=, enz.) in het heading-element kan injecteren. Deze kwetsbaarheid is opgelost in 3.2.1.

Origineel (Engels) tonen

Mistune is a Python Markdown parser with renderers and plugins. Prior to 3.2.1, HTMLRenderer.heading() builds the opening tag by string-concatenating the id attribute value directly into the HTML — with no call to escape(), safe_entity(), or any other sanitisation function. A double-quote character " in the id value terminates the attribute, allowing an attacker to inject arbitrary additional attributes (event handlers, src=, href=, etc.) into the heading element. This vulnerability is fixed in 3.2.1.

Vendors

Mistune Project

Affected products

Mistune

References