github.com/gohugoio/hugo
Affected
- introduced
0.123.0, fixed0.125.3(semver)
Fixed versions
0.125.3
Fix
- Fixed version
0.125.3go get github.com/gohugoio/[email protected]
Advisory
Also known as: CVE-2024-32875, GO-2024-2747
Hugo Markdown titles do not escaped in internal render hooks
Impact
Title argument in Markdown for links and images not escaped in internal render hooks. Impacted are Hugo users who have these hooks enabled and do not trust their Markdown content files.
Patches
Patched in v0.125.3.
Workarounds
Replace with user defined templates or disable the internal templates: https://gohugo.io/getting-started/configuration-markup/#renderhooksimageenabledefault
References
https://github.com/gohugoio/hugo/releases/tag/v0.125.3
Medium Basis: The source's own band: MODERATE
0.123.0, fixed 0.125.3 (semver)0.125.3
0.125.3go get github.com/gohugoio/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0