CVE-2026-35166 MEDIUM

CVE-2026-35166: Hugo does not properly escape some Markdown links

Vendor Gohugoio
Product hugo
Weakness CWE-79 · XSS
Published April 6, 2026
Last update April 6, 2026

CVSS base score

5.3/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction
Confidentiality
Integrity

CVSS vector

CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N

What the vulnerability does

01Description

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.

Key dates

02Disclosure timeline

April 6, 2026 CVE published
April 6, 2026 Record updated