ADVISORIES

GitHub Advisory Database

GHSA-mcv8-8m8x-48pg

Hugo: Certain markdown links are not properly escaped

Details

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.

Affected packages

EcosystemPackageAffected versions
Gogithub.com/gohugoio/hugo
From 0.60.0 before 0.159.2 (fixed in 0.159.2)

References