CVE-2026-58402

hugo: Hugo is a static site generator

CVE-2026-58402 is fixed in hugo on 1 platform by DEBIAN-CVE-2026-58402 (version 0.165.0-1), released July 6, 2026. It is not reported as exploited. Patch Radar priority: Routine.

Routine
CVSS
5.4
medium
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0030
22nd percentile

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.

Where it's fixed

ProductFixed inFixReleased
Linux
hugo · Debian 14 0.165.0-1 DEBIAN-CVE-2026-58402 Jul 6, 2026

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.