CVE-2024-32875
published medium CVSS 3.1 · 6.1Hugo doesn't escape markdown title in internal render hooks
Package status and fixes
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.1 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| gohugoio | hugo | >= 0.123.0, < 0.125.3 (affected) | GitHub_M · cna |
| gohugo | hugo | 0.123.0 to < 0.125.3 (affected · custom)Default: unknown | CISA-ADP · adp |
Weaknesses
2- CWE-80 CWE-80: Improper Neutralization of Script-Related HTML Tags in a Web Page (Basic XSS)
- CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
3Provider assertions
3GitHub_M · cna
Hugo doesn't escape markdown title in internal render hooks
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 362364498a2cfc45a1874c4424da82dae79aa78d3356f50e49bb5d6a5b97eeca
- Ingested
- 23 Sep 2026, 08:22:54 UTC
- Source record
- Official CVE record