CyberRota Analysis
AI-GeneratedHugo'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.
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)