« Back to list

Gohugo

Gohugo Hugo: vulnerabilities and CVEs

Gohugo Hugo has 21 published vulnerabilities, 18 of them in the last 12 months. 3 are rated critical and 0 are listed by CISA as actively exploited.

CVEs21
Last 12 months18
Critical3
Actively exploited0

All vulnerabilities in the catalogue →⭐ Follow this technology

Latest vulnerabilities

CVESeverityEPSSActive exploitationPublishedDescription
CVE-2026-100694Medium (5.1)0.19%—Sep 26, 2026
Hugo is a static site generator. In versions from v0.56.0 through v0.165.x, content files mapped to the text/org media type are rendered without escaping raw HTML: Org export blocks and @@html:...@@ snippets pass HTML…
CVE-2026-100693High (8.6)0.14%—Sep 26, 2026
Hugo versions from v0.162.0 before v0.166.0 contain a case-sensitive validation flaw in the security.http.urls IP-literal deny rule that allows attackers to bypass restrictions. Attackers can use mixed-case URL schemes…
CVE-2026-100692High (8.7)0.42%—Sep 26, 2026
Hugo is a static site generator. In versions after v0.123.0 and before v0.166.0, Hugo's symlink confinement checks stopped at the mount root itself, so a theme or module checked into themes/ (or a vendored module) could…
CVE-2026-100691Medium (5.1)0.17%—Sep 26, 2026
Hugo versions 0.75.0 through 0.165.x contain a stored cross-site scripting vulnerability: the syntax highlighter does not escape the `lineAnchors` option before passing it to Chroma, which writes the value verbatim into…
CVE-2026-100690High (8.7)0.35%—Sep 26, 2026
Hugo versions from v0.161.0 through v0.165.0 run Node.js tools (css.PostCSS, css.TailwindCSS, js.Babel) under the Node.js permission model to restrict file system reads to the project directory and configured mounts.…
CVE-2026-89258Critical (9.3)0.47%—Sep 11, 2026
Hugo is a static site generator. In versions after v0.123.0 and before v0.165.0, symlinks in parent directories were not dropped during direct resource lookups, allowing path confinement to be bypassed. An attacker who…
CVE-2026-89259Critical (9.3)0.59%—Sep 11, 2026
Hugo is a static site generator. From v0.161.0, Hugo executes Node tools under Node's permission model, but TailwindCSS — included in the default security.exec.allow list — requires a highly permissive configuration…
CVE-2026-10618Medium (4.8)0.21%—Aug 24, 2026
Hugo's default fenced-code-block renderer writes attribute values taken from the code-fence info string into the rendered HTML without escaping them. New in markup/internal/attributes/attributes.go converts every…
CVE-2026-10582High (8.3)0.32%—Aug 24, 2026
Hugo's security.http.urls allowlist is the only control on outbound fetches made by resources.GetRemote, and it inspects the URL text alone. CheckAllowedHTTPURL in config/security/securityConfig.go applies the…
CVE-2026-75926Critical (9.3)0.28%—Aug 18, 2026
Hugo 0.161.0 placed the Node asset pipelines behind the Node.js permission model so that code running through PostCSS, Babel, or TailwindCSS could not reach the file system outside the project directory. Hugo 0.162.0…
CVE-2026-50135Medium (6.9)0.41%—Jul 6, 2026
Hugo is a static site generator. From 0.123.0 to 0.161.1, a regression made RootMappingFs.statRoot use Stat (follows symlinks) instead of Lstat , so a direct resources.Get of a symlink pointing outside its mount…
CVE-2026-58404Medium (4.6)0.37%—Jul 6, 2026
Hugo is a static site generator. From v0.162.0 through v0.163.0, the default security.http.urls policy denies requests to loopback, internal, and cloud-metadata IPv4 literals, but the deny rule only matched…
CVE-2026-58403Medium (5.9)0.47%—Jul 6, 2026
Hugo is a static site generator. From v0.123.0 through v0.163.0, Hugo's virtual filesystem is designed so that files under a mount cannot reach outside the mount tree, but a regression caused RootMappingFs.statRoot to…
CVE-2026-58402Medium (5.1)0.30%—Jul 6, 2026
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…
CVE-2026-50134Medium (6.3)0.40%—Jul 6, 2026
Hugo is a static site generator. From 0.91.0 until 0.162.0, resources.GetRemote enforces security.http.urls on the URL it is called with, but it did not re-validate intermediate URLs on HTTP 3xx redirects. An allowed…
CVE-2026-50133Medium (5.1)0.33%—Jul 6, 2026
Hugo is a static site generator. Prior to 0.162.0, Hugo accepts content files in several markup formats. Files mapped to the text/html media type (typically .html files under /content, or pages produced by a content…
CVE-2026-44301Medium (6.2)0.43%—May 12, 2026
Hugo is a static site generator. From 0.43 to before 0.161.0, when building a Hugo site that uses Node-based asset pipelines (PostCSS, Babel, TailwindCSS), Hugo invoked the configured Node tools without restrictions on…
CVE-2026-35166Medium (5.3)0.23%—Apr 6, 2026
Hugo is a static site generator. From 0.60.0 to before 0.159.2, links and image links in the default markdown to HTML renderer are not properly escaped. Hugo users who trust their Markdown content or have custom render…
CVE-2024-55601Medium (5.3)0.60%—Dec 9, 2024
Hugo is a static site generator. Starting in version 0.123.0 and prior to version 0.139.4, some HTML attributes in Markdown in the internal templates listed below not escaped in internal render hooks. Those whoa re…
CVE-2024-32875Medium (6.1)0.54%—Apr 23, 2024
Hugo is a static site generator. Starting in version 0.123.0 and prior to version 0.125.3, title arguments in Markdown for links and images not escaped in internal render hooks. Hugo users who are impacted are those who…
CVE-2020-26284High (8.5)1.5%—Dec 21, 2020
Hugo is a fast and Flexible Static Site Generator built in Go. Hugo depends on Go's `os/exec` for certain features, e.g. for rendering of Pandoc documents if these binaries are found in the system `%PATH%` on Windows.…

🎯 How it gets exploited (ATT&CK techniques)

  1. T1005 Data from Local System4
  2. T1190 Exploit Public-Facing Application4
  3. T1059.007 JavaScript2
  4. T1068 Exploitation for Privilege Escalation2
  5. T1189 Drive-by Compromise2
  6. T1203 Exploitation for Client Execution2

Number of CVEs of this technology mapped to each exploitation or primary-impact technique.