VDB
KO

GO-2026-5569

Hugo: XSS via unescaped code-fence language in default code block renderer in github.com/gohugoio/hugo

Quick fix

GO-2026-5569 — github.com/gohugoio/hugo: upgrade to the fixed version with the command below.

go get github.com/gohugoio/hugo@v0.163.3

Details

Hugo: XSS via unescaped code-fence language in default code block renderer in github.com/gohugoio/hugo

Are you affected?

Enter the version of the package you're using.

Affected packages

Go / github.com/gohugoio/hugo
Introduced in: 0.60.0 Fixed in: 0.163.3
Fix go get github.com/gohugoio/hugo@v0.163.3

References