~ / search / GHSA-ppf8-hhpp-f5hj

GHSA-ppf8-hhpp-f5hj

Hugo Markdown titles do not escaped in internal render hooks

Source: GitHub Advisory Database (reviewed) Moderate CVE-2024-32875

Packages

EcosystemPackageAffectedFixed in
Go github.com/gohugoio/hugo >= 0.123.0, < 0.125.3 0.125.3

Details

As written in the advisory (Markdown source, shown as plain text).

### 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

External links from the advisory. They lead to third-party sites.