VDB
Sign up
MEDIUM5.4

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.0Fixed in: 0.163.3
Fixgo get github.com/gohugoio/hugo@v0.163.3

References

Check it before you install it

One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.

curl -s https://vdb.ai.kr/v1/ai/check-packages \
  -H 'Content-Type: application/json' \
  -d '{"packages":["pkg:golang/github.com/gohugoio/hugo"]}'