Hugo doesn't escape markdown title in internal render hooks
Summary
Hugo doesn't escape markdown title in internal render hooks
Original description
The description as published by the source.
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.
Source: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV
Fix status by distribution
Fixed packages published by each distribution for this CVE
- Debian DEBIAN-CVE-2024-32875 hugo Fixed in: 0.125.4-1
- Ubuntu UBUNTU-CVE-2024-32875 hugo
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- web github.com
- web gohugo.io