Hugo · Hugo · CVE-2026-35166
Name of the Vulnerable Software and Affected Versions
Hugo versions 0.60.0 through 0.159.1
Description
Hugo, a static site generator, has an issue where links and image links in the default markdown to HTML renderer are not properly escaped. Users who trust their Markdown content or have custom render hooks for links and images are not affected.
Recommendations
Update to version 0.159.2 or later.
Create custom render hooks for links and images in a Hugo theme/project.