CVE-2024-32875 json
Hugo doesn't escape markdown title in internal render hooks
published 2024-04-23 2 y ago modified 2026-09-10 1 mo ago also EUVD-2024-1268 , GHSA-ppf8-hhpp-f5hj , GO-2024-2747
- cvss
- 6.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 45%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go github.com/gohugoio/hugo 0.125.3
- gohugo hugo 0.125.3
- hugo Debian 14, Debian 13 0.125.4-1
debian advisories DEBIAN-CVE-2024-32875
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2024-32875 updated cvss 6.1
hugo: title arguments in Markdown for links and images not escaped in internal render hooks
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.54% chance of exploitation in the next 30 days, higher than 45% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| GitHub | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/gohugoio/hugo | >=0.123.0, <0.125.3 |
0.125.3 |
Affected products
- gohugoio hugo
- gohugo hugo
Classification
References
-
github.com
/gohugoio/hugo/commit/15a4b9b33715887001f6eff30721d41c0d4cfdd1
web, patch
-
github.com
/gohugoio/hugo/security/advisories/GHSA-ppf8-hhpp-f5hj
web, advisory
-
github.com
/gohugoio/hugo/releases/tag/v0.125.3
web
-
gohugo.io
/getting-started/configuration-markup/#renderhooksimageenabledefault
web
-
nvd.nist.gov
/vuln/detail/CVE-2024-32875
advisory
-
github.com
/gohugoio/hugo
package
-
pkg.go.dev
/vuln/GO-2024-2747
web
Sources
- CVE List CVE-2024-32875
- GitHub Advisory GHSA-ppf8-hhpp-f5hj
- NVD CVE-2024-32875
- OSV GO-2024-2747
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.