CVE-2026-35166CWE-79

Hugo does not properly escape some Markdown links

Medium · published April 6, 2026

CVSS v4.0
5.3
EPSS
0%
Percentile
13.4
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v4.0
5.3 · MEDIUM
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
EPSS
0.00233 · 13.4th percentile
Weakness
CWE-79 · Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Published
2026-04-06T17:37Z
EPSS history
Timeline
  • 06 APR 17:37Z
    Hugo does not properly escape some Markdown links
    cvelistv5