GoWorst: High11 advisories

github.com/gohugoio/hugo: known vulnerabilities

github.com/gohugoio/hugo has 11 reviewed security advisories in the GitHub Advisory Database — 2 high, 9 moderate. The most recent was published 2026-06-19. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the github.com/gohugoio/hugo versions running across your servers, containers and images, and ranks what to patch first.

How to fix github.com/gohugoio/hugo

Upgrade github.com/gohugoio/hugo to a release at or above the fixed version shown for each advisory below. For Go:

go get github.com/gohugoio/hugo@0.163.1 && go mod tidy (check govulncheck)

SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.

Advisories (11)

Hugo: Symlink confinement bypass in os.ReadFile Moderate CWE-59 — Affected: from 0.123.0 up to 0.163.1. Fixed in 0.163.1. Published 2026-06-19. GHSA-c3wq-j5vh-68rc · CVE-2026-58403
Hugo: XSS via unescaped code-fence language in default code block renderer Moderate CWE-79 — Affected: from 0.60.0 up to 0.163.3. Fixed in 0.163.3. Published 2026-06-19. GHSA-q76j-gcg9-vxc6 · CVE-2026-58402
Hugo: security.http.urls deny rules bypassed by alternate IPv4 encodings (SSRF) High CWE-918 — Affected: from 0.162.0 up to 0.163.1. Fixed in 0.163.1. Published 2026-06-19. GHSA-r46f-3rpw-hxrv · CVE-2026-58404
Hugo: Symlink confinement bypass in resources.Get Moderate CWE-59 — Affected: from 0.123.0 up to 0.162.0. Fixed in 0.162.0. Published 2026-06-16. GHSA-fw87-fv5r-9fpw · CVE-2026-50135
Hugo: security.http.urls allow-list bypass via HTTP redirects Moderate CWE-918 — Affected: from 0.91.0 up to 0.162.0. Fixed in 0.162.0. Published 2026-06-16. GHSA-vxgm-5rmg-5w8g · CVE-2026-50134
Hugo's Node tool execution allows file system access outside the project directory Moderate CWE-22 — Affected: from 0.43.0 up to 0.161.0. Fixed in 0.161.0. Published 2026-05-12. GHSA-x597-9fr4-5857 · CVE-2026-44301
Hugo: Certain markdown links are not properly escaped Moderate CWE-79 — Affected: from 0.60.0 up to 0.159.2. Fixed in 0.159.2. Published 2026-04-06. GHSA-mcv8-8m8x-48pg · CVE-2026-35166
Hugo does not escape some attributes in internal templates Moderate CWE-79 — Affected: from 0.123.0 up to 0.139.4. Fixed in 0.139.4. Published 2024-12-09. GHSA-c2xf-9v2r-r2rx · CVE-2024-55601
Hugo Markdown titles do not escaped in internal render hooks Moderate 6.1 CWE-79 — Affected: from 0.123.0 up to 0.125.3. Fixed in 0.125.3. Published 2024-04-23. GHSA-ppf8-hhpp-f5hj · CVE-2024-32875
Hugo can execute a binary from the current directory on Windows High 7.7 CWE-78 — Affected: before 0.79.1. Fixed in 0.79.1. Published 2020-12-21. GHSA-8j34-9876-pvfq · CVE-2020-26284

Find github.com/gohugoio/hugo across your fleet

Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA, CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month. Start free.