All reports
Medium

Hugo Markdown titles do not escaped in internal render hooks

Affected versions

Version ranges need review.

Affected versions
>= 0.123.0, < 0.125.3
Fixed version
0.125.3
Affected versions
>=0.123.0 <0.125.3
Fixed version
0.125.3

Exploitation

CVE-2024-32875

Probability of exploitation in the next 30 days: 0.54%

FIRST EPSS · 2026-11-23

Description

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

Links

Credits

  • ejona86