Hugo Markdown titles do not escaped in internal render hooks
Package
Affected versions
>= 0.123.0, < 0.125.3
Patched versions
0.125.3
Description
Published by the National Vulnerability Database
Apr 23, 2024
Published to the GitHub Advisory Database
Apr 23, 2024
Reviewed
Apr 23, 2024
Last updated
Jul 19, 2024
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
References