p PatchFirst

PatchFirst · Latest vulnerabilities

hugo vulnerabilities · Page 2

Vulnerability published for hugo in the last 30 days: 1. Listed in the KEV catalogue: 0.

Filter vulnerabilities
Clear filters

Vulnerabilities: 26

  1. CVE-2026-58404

    Medium · CVSS 4.6EPSS 0.21%Fix available

    Hugo security.http.urls deny rules bypassed by alternate IPv4 encodings

    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 dotted-decimal notation, so alternate IPv4 encodings of the same addresses, including integer, hex, or octal, passed the policy. When a template passes an untrusted or data-derived URL to resources.GetRemote and the host platform uses the cgo system resolver, these encodings resolve to the blocked address, allowing build-time server-side requests to loopback and internal services, including the cloud-metadata endpoint in hosted or CI build

    • Update to 0.165.0-1
    Published Updated
  2. CVE-2026-44301

    Medium · CVSS 6.2EPSS 0.27%Fix available

    Hugo: Node tool execution allows file system access outside the project directory

    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 file system access. As a result, executing hugo against an untrusted site could allow code running through these tools to read or write files outside the project's working directory. Users who do not use PostCSS, Babel, or TailwindCSS, or who only build trusted sites, are not affected. This vulnerability is fixed in 0.161.0.

    • Update to 0.161.0-1
    Published Updated
  3. CVE-2026-35166

    Medium · CVSS 5.3EPSS 0.21%Fix available

    Hugo does not properly escape some Markdown links

    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 hooks for links and images are not affected. This vulnerability is fixed in 0.159.2.

    • Update to 0.159.2-1
    Published Updated
  4. CVE-2024-55601

    Medium · CVSS 5.3EPSS 0.6%Fix available

    Hugo does not escape some attributes in internal templates

    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 impacted are Hugo users who do not trust their Markdown content files and are using one or more of these templates: `_default/_markup/render-link.html` from `v0.123.0`; `_default/_markup/render-image.html` from `v0.123.0`; `_default/_markup/render-table.html` from `v0.134.0`; and/or `shortcodes/youtube.html` from `v0.125.0`. This issue is patched in v0.139.4. As a workaround, one may replace an affected component with user defined

    • Update to 0.150.0-1
    Published Updated
  5. CVE-2024-32875

    Medium · CVSS 6.1EPSS 0.54%Fix available

    Hugo doesn't escape markdown title in internal render hooks

    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 have these hooks enabled and do not trust their Markdown content files. The issue is patched in v0.125.3. As a workaround, replace the templates with user defined templates or disable the internal templates.

    • Update to 0.125.4-1
    Published Updated
  6. CVE-2020-26284

    High · CVSS 7.7EPSS 1.47%Fix available

    Hugo can execute a binary from the current directory on Windows

    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. In Hugo before version 0.79.1, if a malicious file with the same name (`exe` or `bat`) is found in the current working directory at the time of running `hugo`, the malicious command will be invoked instead of the system one. Windows users who run `hugo` inside untrusted Hugo sites are affected. Users should upgrade to Hugo v0.79.1. Other than avoiding untrusted Hugo sites, there is no workaround.

    • Update to 0.79.1-1
    Published Updated

Check your server

Check your installed stack and versions against the current vulnerability feeds.

Check your server →