Live threats

All CVEs / gohugoio

CVE-2024-32875gohugoio hugo

Medium 6.1 No auth needed

Priority
52
CVSS 3.1
6.1
EPSS
0.8%
probability of exploitation in 30 days · percentile 52
Auth required
No
Published
Apr 23, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79, CWE-80
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for hugo.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/gohugoio/hugo ≥ 0.123.0 < 0.125.3 0.125.3 go get github.com/gohugoio/hugo@v0.125.3
Go github.com/gohugoio/hugo ≥ 0.123.0 < 0.125.3 0.125.3 go get github.com/gohugoio/hugo@v0.125.3

Per OSV / GitHub Advisories (GHSA-ppf8-hhpp-f5hj, GO-2024-2747). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.