CVE-2024-32875
MEDIUM 6.1CVSS 3.1Hugo Markdown titles do not escaped 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.
- Published
- 23 Apr 2024
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-79
- Also known as
- GHSA-ppf8-hhpp-f5hjGO-2024-2747
- Sources
- NVDJSONOSV GHSA-ppf8-hhpp-f5hjJSONOSV GO-2024-2747JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | github.com/gohugoio/hugo | >= 0.123.0, < 0.125.3 | 0.125.3 |
References
- https://github.com/gohugoio/hugo/releases/tag/v0.125.3 · WEB
- https://github.com/gohugoio/hugo/security/advisories/GHSA-ppf8-hhpp-f5hj · WEB, ADVISORY
- https://gohugo.io/getting-started/configuration-markup/#renderhooksimageenabledefault · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-32875 · ADVISORY
- https://github.com/gohugoio/hugo/commit/15a4b9b33715887001f6eff30721d41c0d4cfdd1 · WEB, FIX
- https://github.com/gohugoio/hugo · PACKAGE
- https://pkg.go.dev/vuln/GO-2024-2747 · WEB
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 23 Apr 2024)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 4 Jun 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 23 Apr 2024)