AUGUST 21, 2026
Live Feed
Back to database
Case File

CVE-2026-58402

MEDIUM · CVSS 5.4 EPSS 0.17% Public Exploit

Source: NVD + CISA KEV + EPSS · Published 2026-07-06 · Last synced 2026-08-05

CyberRota Analysis

AI-Generated

Hugo's static site generator versions from 0.60.0 to 0.163.3 are vulnerable due to improper HTML escaping in the default code-block renderer, allowing for potential script injection through crafted Markdown code-fences. This vulnerability could lead to cross-site scripting (XSS) attacks, impacting the security of web applications built with affected Hugo versions. Users and developers utilizing these versions should prioritize upgrading to 0.163.3 or later to mitigate the risk.

Public Exploit Signal

A public exploit, PoC, GitHub repository or Metasploit reference was detected for this CVE.

Note: these links are listed for security research and verification purposes only.

CVE
CVE-2026-58402
Severity
MEDIUM
CVSS
5.4
EPSS
0.17%

Original NVD 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.

Related CVEs

Other vulnerabilities affecting the same vendor(s)