ADVISORIES

Vulnerability

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.

8 advisories report this vulnerability, across 6 ecosystems.

Advisories in Go

  • GHSA-mcv8-8m8x-48pg

    Hugo: Certain markdown links are not properly escaped

    Moderate CVE-2026-35166 Go Updated 7 July 2026
  • GO-2026-5504

    Hugo: Certain markdown links are not properly escaped in github.com/gohugoio/hugo

    CVE-2026-35166 Go Updated 7 July 2026

References