CVE-2024-32875 Hugo doesn't escape markdown title in internal render hooks
MediumCVSS 6.1
EPSS 0.54%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebian
Description
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.
Upgrade path
14 packages: 4 fixed, 9 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/hugo(Ubuntu 16.04) | = 0.15+git20160109.147.dd1d655-1; = 0.15+git20160109.147.dd1d655-2; = 0.15+git20160128.179.5def6d9-1; = 0.15+git20160206.203.ed23711-1 +1 more | No fix listed | No fix yet |
| ubuntu/hugo(Ubuntu 18.04) | = 0.25.1-2; = 0.26-1; = 0.35-1; = 0.37.1-1 +5 more | No fix listed | No fix yet |
| ubuntu/hugo(Ubuntu 20.04) | = 0.57.2-1; = 0.58.3-1; = 0.59.1-1.1; = 0.68.3-1 +1 more | No fix listed | No fix yet |
| ubuntu/hugo(Ubuntu 22.04) | = 0.80.0-6; = 0.89.4-2; = 0.90.0-1; = 0.90.1-1 +7 more | No fix listed | No fix yet |
| ubuntu/hugo(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/hugo(Ubuntu 25.10) | = 0.131.0-1; All versions | No fix listed | No fix yet |
| ubuntu/hugo(Ubuntu 26.04) | = 0.131.0-1; = 0.152.2-1; = 0.153.1-3; = 0.153.2-1 +4 more | No fix listed | No fix yet |
| ubuntu/hugo(Ubuntu 26.10) | = 0.154.5-1; = 0.162.1-5; = 0.162.1-7; All versions | No fix listed | No fix yet |
| ubuntu/hugo(Ubuntu Pro 24.04) | = 0.113.0-3; = 0.119.0-2; = 0.120.3-1; = 0.120.4-1 +10 more | No fix listed | No fix yet |
| debian/hugo(Debian 13) | < 0.125.4-1 | 0.125.4-1 | Fixed |
| debian/hugo(Debian 14) | < 0.125.4-1 | 0.125.4-1 | Fixed |
| gohugo hugo | >= 0.123.0, < 0.125.3 | 0.125.3 | Fixed |
| gohugoio github.com/gohugoio/hugo(Go) | >= 0.123.0, < 0.125.3 | 0.125.3 | Fixed |
| gohugoio github.com/gohugoio/hugo | = >= 0.123.0, < 0.125.3 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| gohugoio github.com/gohugoio/hugo(Go) | >= 0.123.0, < 0.125.3 | 0.125.3 |
| debian/hugo(Debian:13) | < 0.125.4-1 | 0.125.4-1 |
| debian/hugo(Debian:14) | < 0.125.4-1 | 0.125.4-1 |
| ubuntu/hugo(Ubuntu:22.04) | All versions | No fix listed |
| gohugoio github.com/gohugoio/hugo | = >= 0.123.0, < 0.125.3 | No fix listed |
| gohugo hugo | >= 0.123.0, < 0.125.3 | 0.125.3 |
| ubuntu/hugo(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/hugo(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/hugo(Ubuntu:26.10) | All versions | No fix listed |
| ubuntu/hugo(Ubuntu:16.04) | All versions | No fix listed |
| ubuntu/hugo(Ubuntu:16.04) | = 0.15+git20160109.147.dd1d655-1 | No fix listed |
| ubuntu/hugo(Ubuntu:16.04) | = 0.15+git20160109.147.dd1d655-2 | No fix listed |
| ubuntu/hugo(Ubuntu:16.04) | = 0.15+git20160128.179.5def6d9-1 | No fix listed |
| ubuntu/hugo(Ubuntu:16.04) | = 0.15+git20160206.203.ed23711-1 | No fix listed |
| ubuntu/hugo(Ubuntu:18.04) | All versions | No fix listed |
| ubuntu/hugo(Ubuntu:18.04) | = 0.25.1-2 | No fix listed |
| ubuntu/hugo(Ubuntu:18.04) | = 0.26-1 | No fix listed |
| ubuntu/hugo(Ubuntu:18.04) | = 0.35-1 | No fix listed |
| ubuntu/hugo(Ubuntu:18.04) | = 0.37.1-1 | No fix listed |
| ubuntu/hugo(Ubuntu:18.04) | = 0.38-1 | No fix listed |
| ubuntu/hugo(Ubuntu:18.04) | = 0.39-1 | No fix listed |
| ubuntu/hugo(Ubuntu:18.04) | = 0.40-1 | No fix listed |
| ubuntu/hugo(Ubuntu:18.04) | = 0.40.1-1 | No fix listed |
| ubuntu/hugo(Ubuntu:20.04) | All versions | No fix listed |
| ubuntu/hugo(Ubuntu:20.04) | = 0.57.2-1 | No fix listed |
Show 39 more
| Product | Affected versions | Fixed in |
|---|---|---|
| ubuntu/hugo(Ubuntu:20.04) | = 0.58.3-1 | No fix listed |
| ubuntu/hugo(Ubuntu:20.04) | = 0.59.1-1.1 | No fix listed |
| ubuntu/hugo(Ubuntu:20.04) | = 0.68.3-1 | No fix listed |
| ubuntu/hugo(Ubuntu:22.04) | = 0.80.0-6 | No fix listed |
| ubuntu/hugo(Ubuntu:22.04) | = 0.89.4-2 | No fix listed |
| ubuntu/hugo(Ubuntu:22.04) | = 0.90.0-1 | No fix listed |
| ubuntu/hugo(Ubuntu:22.04) | = 0.90.1-1 | No fix listed |
| ubuntu/hugo(Ubuntu:22.04) | = 0.91.0-1 | No fix listed |
| ubuntu/hugo(Ubuntu:22.04) | = 0.91.2-1 | No fix listed |
| ubuntu/hugo(Ubuntu:22.04) | = 0.92.0-1 | No fix listed |
| ubuntu/hugo(Ubuntu:22.04) | = 0.92.1-1build1 | No fix listed |
| ubuntu/hugo(Ubuntu:22.04) | = 0.92.2-1 | No fix listed |
| ubuntu/hugo(Ubuntu:22.04) | = 0.92.2-1ubuntu0.1 | No fix listed |
| ubuntu/hugo(Ubuntu:Pro:24.04) | All versions | No fix listed |
| ubuntu/hugo(Ubuntu:Pro:24.04) | = 0.113.0-3 | No fix listed |
| ubuntu/hugo(Ubuntu:Pro:24.04) | = 0.119.0-2 | No fix listed |
| ubuntu/hugo(Ubuntu:Pro:24.04) | = 0.120.3-1 | No fix listed |
| ubuntu/hugo(Ubuntu:Pro:24.04) | = 0.120.4-1 | No fix listed |
| ubuntu/hugo(Ubuntu:Pro:24.04) | = 0.121.2-1 | No fix listed |
| ubuntu/hugo(Ubuntu:Pro:24.04) | = 0.122.0-1 | No fix listed |
| ubuntu/hugo(Ubuntu:Pro:24.04) | = 0.123.7-1build1 | No fix listed |
| ubuntu/hugo(Ubuntu:Pro:24.04) | = 0.123.7-1ubuntu0.1 | No fix listed |
| ubuntu/hugo(Ubuntu:Pro:24.04) | = 0.123.7-1ubuntu0.2 | No fix listed |
| ubuntu/hugo(Ubuntu:Pro:24.04) | = 0.123.7-1ubuntu0.2+esm1 | No fix listed |
| ubuntu/hugo(Ubuntu:Pro:24.04) | = 0.123.7-1ubuntu0.3 | No fix listed |
| ubuntu/hugo(Ubuntu:Pro:24.04) | = 0.123.7-1ubuntu0.3+esm1 | No fix listed |
| ubuntu/hugo(Ubuntu:Pro:24.04) | = 0.123.7-1ubuntu0.3+esm2 | No fix listed |
| ubuntu/hugo(Ubuntu:25.10) | All versions | No fix listed |
| ubuntu/hugo(Ubuntu:25.10) | = 0.131.0-1 | No fix listed |
| ubuntu/hugo(Ubuntu:26.10) | = 0.154.5-1 | No fix listed |
| ubuntu/hugo(Ubuntu:26.10) | = 0.162.1-5 | No fix listed |
| ubuntu/hugo(Ubuntu:26.10) | = 0.162.1-7 | No fix listed |
| ubuntu/hugo(Ubuntu:26.04) | = 0.131.0-1 | No fix listed |
| ubuntu/hugo(Ubuntu:26.04) | = 0.152.2-1 | No fix listed |
| ubuntu/hugo(Ubuntu:26.04) | = 0.153.1-3 | No fix listed |
| ubuntu/hugo(Ubuntu:26.04) | = 0.153.2-1 | No fix listed |
| ubuntu/hugo(Ubuntu:26.04) | = 0.154.2-2 | No fix listed |
| ubuntu/hugo(Ubuntu:26.04) | = 0.154.3-1 | No fix listed |
| ubuntu/hugo(Ubuntu:26.04) | = 0.154.5-1 | No fix listed |
References
- https://github.com/gohugoio/hugo/security/advisories/GHSA-ppf8-hhpp-f5hj issue-tracking vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com patch
- github.com product
- https://github.com/gohugoio/hugo/releases/tag/v0.125.3 issue-tracking
- https://gohugo.io/getting-started/configuration-markup/#renderhooksimageenabledefault issue-tracking
- pkg.go.dev
- github.com
- Debian Security Tracker CVE-2024-32875 vendor-advisory
- Ubuntu CVE tracker issue-tracking vendor-advisory
- www.cve.org issue-tracking