NetSight
medium5.4

CVE-2026-35166

Hugo: Certain markdown links are not properly escaped

Impact

Hugo is a static site generator. From 0.60.0 to before 0.159.2, links and image links in the default markdown to HTML renderer are not properly escaped. Hugo users who trust their Markdown content or have custom render hooks for links and images are not affected. This vulnerability is fixed in 0.159.2.

Affected packages

EcosystemPackageAffectedFixed in
gogithub.com/gohugoio/hugo>= 0.60.0, < 0.159.20.159.2

Affected products

VendorProductAffected versions
GohugoHugo
from 0.60.0 before 0.159.2

Weakness classification

References