~ / search / GHSA-mcv8-8m8x-48pg

GHSA-mcv8-8m8x-48pg

Hugo: Certain markdown links are not properly escaped

Source: GitHub Advisory Database (reviewed) Moderate CVE-2026-35166

Packages

EcosystemPackageAffectedFixed in
Go github.com/gohugoio/hugo >= 0.60.0, < 0.159.2 0.159.2

Details

As written in the advisory (Markdown source, shown as plain text).

### 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.

References

External links from the advisory. They lead to third-party sites.