CVE-2026-35166

MEDIUM

Hugo does not properly escape some Markdown links

Title source: cna
STIX 2.1

Description

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.

References (1)

Core 1
Core References

Scores

CVSS v3 5.4
EPSS 0.0019
EPSS Percentile 8.2%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

CWE
CWE-79
Status published
Products (3)
gohugo/hugo 0.60.0 - 0.159.2 (3 CPE variants)
gohugoio/hugo 0.60.0 - 0.159.2Go
gohugoio/hugo >= 0.60.0, < 0.159.2
Published Apr 06, 2026
Tracked Since Apr 06, 2026