github.com/gohugoio/hugo
Affected
- introduced
0.60.0, fixed0.159.2(semver)
Fixed versions
0.159.2
Fix
- Fixed version
0.159.2go get github.com/gohugoio/[email protected]
Advisory
Also known as: CVE-2026-35166, GO-2026-5504
Hugo: Certain markdown links are not properly escaped
Impact
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.
Patches
Patched in v0.159.2
Workarounds
Create custom render hooks for links and images in a Hugo theme/project.
Medium Basis: The source's own band: MODERATE
0.60.0, fixed 0.159.2 (semver)0.159.2
0.159.2go get github.com/gohugoio/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0