medium5.4
CVE-2026-35166
Hugo: Certain markdown links are not properly escaped
Impact
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.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| go | github.com/gohugoio/hugo | >= 0.60.0, < 0.159.2 | 0.159.2 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Gohugo | Hugo | from 0.60.0 before 0.159.2 |