CVE-2026-35166

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:gohugo:hugo:*:*:*:*:*:linux:*:*
cpe:2.3:a:gohugo:hugo:*:*:*:*:*:macos:*:*
cpe:2.3:a:gohugo:hugo:*:*:*:*:*:windows:*:*

History

No history.

Information

Published : 2026-04-06 18:16

Updated : 2026-06-17 10:40


NVD link : CVE-2026-35166

Mitre link : CVE-2026-35166

CVE.ORG link : CVE-2026-35166


JSON object : View

Products Affected

gohugo

  • hugo
CWE
CWE-79

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')