CVE-2026-58402
Beschrijving NL
Hugo is een statische sitegenerator. Van 0.60.0 tot 0.163.3 schreef Hugo's standaard codeblok renderer de Markdown code-fence taal of info-string in de code klasse="language-…" data-lang="…" wrapper zonder HTML escaping. Een omheining info-string met een offerte en een script payload breekt uit het attribuut en injecteert een live script element. Dit probleem is opgelost in 0.163.3.
Origineel (Engels) tonen
Hugo is a static site generator. From 0.60.0 until 0.163.3, Hugo's default code-block renderer wrote the Markdown code-fence language or info-string into the code class="language-…" data-lang="…" wrapper without HTML escaping. A fence info-string containing a quote and a script payload breaks out of the attribute and injects a live script element. This issue is fixed in 0.163.3.