CVE-2026-58402
MEDIUM
MEDIUM
Priority: 0.02
BB Relevance:
50/100
Published: 2026-07-06
Modified: 2026-10-25
First seen: 2026-10-29
Status: active
Attack Surface
Network
Low Complexity
CVSS Vector Breakdown
AV:
Network
AC:
Low
PR:
Low
UI:
Passive
S:
X
AT:
None
VC:
None
VI:
None
VA:
None
Description
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.
Weakness Classification (1)
References & Advisories (4)
Vendor Advisory
Release Notes
Patch
Issue Tracking