CVE Catalog

CVE-2026-35166

MediumCVSS 5.4
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.23%

13th percentile - higher than 13% of all known CVEs

Summary

Hugo, 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.

Risk Assessment

If Markdown content comes from an untrusted source, an attacker could inject malicious links or images, potentially leading to XSS or phishing attacks on the generated site's visitors. This affects the security of published content.

Recommendation

Update Hugo to version 0.159.2 or later. Avoid rendering untrusted Markdown content or use custom render hooks with proper escaping.

Other vulnerabilities in Hugo

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS