CVE-2026-35166

NameCVE-2026-35166
DescriptionHugo 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
hugo (PTS)bullseye0.80.0-6vulnerable
bullseye (security)0.80.0-6+deb11u1vulnerable
bookworm0.111.3-1vulnerable
trixie0.131.0-1vulnerable
forky, sid0.159.2-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
hugosource(unstable)0.159.2-1

Notes

https://github.com/gohugoio/hugo/security/advisories/GHSA-mcv8-8m8x-48pg

Search for package or bug name: Reporting problems