ADVISORIES

GitHub Advisory Database

GHSA-ppf8-hhpp-f5hj

Hugo Markdown titles do not escaped in internal render hooks

Details

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

Affected packages

EcosystemPackageAffected versions
Gogithub.com/gohugoio/hugo
From 0.123.0 before 0.125.3 (fixed in 0.125.3)

References