CVE-2026-50133

NameCVE-2026-50133
DescriptionHugo is a static site generator. Prior to 0.162.0, Hugo accepts content files in several markup formats. Files mapped to the text/html media type (typically .html files under /content, or pages produced by a content adapter that sets content.mediaType = "text/html") had their body emitted verbatim into the rendered page. A site that ingests HTML content from an untrusted source could therefore be served stored cross-site scripting. This vulnerability is fixed in 0.162.0.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
hugo (PTS)bullseye0.80.0-6vulnerable
bullseye (security)0.80.0-6+deb11u1vulnerable
bookworm0.111.3-1vulnerable
trixie0.131.0-1vulnerable
forky0.161.1-1vulnerable
sid0.162.1-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
hugosource(unstable)0.162.1-1

Notes

https://github.com/gohugoio/hugo/security/advisories/GHSA-c54g-xjwj-8g82
Fixed by: https://github.com/gohugoio/hugo/commit/e41a06447daa3071a01f333fdcec0a5153c3c8d1 (v0.162.0)

Search for package or bug name: Reporting problems