—
GO-2026-5313
Hugo: XSS via text/html content files in github.com/gohugoio/hugo
Quick fix
GO-2026-5313 — github.com/gohugoio/hugo: upgrade to the fixed version with the command below.
go get github.com/gohugoio/hugo@v0.162.0Details
Hugo: XSS via text/html content files 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:
0Fixed in: 0.162.0Fix
go get github.com/gohugoio/hugo@v0.162.0