CVE-2026-50133

Name
CVE-2026-50133
Description
Hugo 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.
NVD Severity
unknown
Other trackers
Mailing lists
Exploits
Forges
GitHub (code, issues), Aports (code, issues)

References

Type URI
security-advisories@github.com https://github.com/gohugoio/hugo/commit/e41a06447daa3071a01f333fdcec0a5153c3c8d1
security-advisories@github.com https://github.com/gohugoio/hugo/releases/tag/v0.162.0
security-advisories@github.com https://github.com/gohugoio/hugo/security/advisories/GHSA-c54g-xjwj-8g82

Match rules

CPE URI Source package Min version Max version
cpe:2.3:a:gohugo:hugo:*:*:*:*:*:*:*:* hugo >= None < 0.162.0

Vulnerable and fixed packages

Source package Branch Version Maintainer Status
hugo edge-community 0.160.1-r1 Thomas Boerger <thomas@webhippie.de> possibly vulnerable
hugo edge-community 0.160.1-r0 Thomas Boerger <thomas@webhippie.de> possibly vulnerable
hugo edge-community 0.159.0-r1 Thomas Boerger <thomas@webhippie.de> possibly vulnerable
hugo edge-community 0.159.0-r0 Thomas Boerger <thomas@webhippie.de> possibly vulnerable
hugo edge-community 0.158.0-r0 Thomas Boerger <thomas@webhippie.de> possibly vulnerable
hugo edge-community 0.157.0-r0 Thomas Boerger <thomas@webhippie.de> possibly vulnerable
hugo edge-community 0.155.3-r3 Thomas Boerger <thomas@webhippie.de> possibly vulnerable
hugo edge-community 0.152.2-r3 Thomas Boerger <thomas@webhippie.de> possibly vulnerable
hugo edge-community 0.152.2-r2 Thomas Boerger <thomas@webhippie.de> possibly vulnerable
hugo edge-community 0.152.2-r1 Thomas Boerger <thomas@webhippie.de> possibly vulnerable
hugo edge-community 0.152.2-r0 Thomas Boerger <thomas@webhippie.de> possibly vulnerable
hugo edge-community 0.152.1-r0 Thomas Boerger <thomas@webhippie.de> possibly vulnerable
hugo edge-community 0.151.0-r1 Thomas Boerger <thomas@webhippie.de> possibly vulnerable
hugo edge-community 0.151.0-r0 Thomas Boerger <thomas@webhippie.de> possibly vulnerable
hugo edge-community 0.150.0-r0 Thomas Boerger <thomas@webhippie.de> possibly vulnerable
hugo edge-community 0.148.2-r2 Thomas Boerger <thomas@webhippie.de> possibly vulnerable
hugo edge-community 0.148.2-r1 Thomas Boerger <thomas@webhippie.de> possibly vulnerable
hugo edge-community 0.148.2-r0 Thomas Boerger <thomas@webhippie.de> possibly vulnerable
hugo edge-community 0.148.1-r0 Thomas Boerger <thomas@webhippie.de> possibly vulnerable
hugo edge-community 0.148.0-r0 Thomas Boerger <thomas@webhippie.de> possibly vulnerable
hugo edge-community 0.147.9-r1 Thomas Boerger <thomas@webhippie.de> possibly vulnerable
hugo edge-community 0.147.9-r0 Thomas Boerger <thomas@webhippie.de> possibly vulnerable
hugo edge-community 0.147.7-r1 Thomas Boerger <thomas@webhippie.de> possibly vulnerable
hugo edge-community 0.147.7-r0 Thomas Boerger <thomas@webhippie.de> possibly vulnerable
hugo edge-community 0.147.2-r0 Thomas Boerger <thomas@webhippie.de> possibly vulnerable
hugo edge-community 0.145.0-r2 Thomas Boerger <thomas@webhippie.de> possibly vulnerable
hugo edge-community 0.145.0-r1 Thomas Boerger <thomas@webhippie.de> possibly vulnerable
hugo edge-community 0.145.0-r0 Thomas Boerger <thomas@webhippie.de> possibly vulnerable
hugo edge-community 0.144.0-r1 Thomas Boerger <thomas@webhippie.de> possibly vulnerable
hugo edge-community 0.144.0-r0 Thomas Boerger <thomas@webhippie.de> possibly vulnerable
hugo edge-community 0.143.0-r1 Thomas Boerger <thomas@webhippie.de> possibly vulnerable
hugo edge-community 0.143.0-r0 Thomas Boerger <thomas@webhippie.de> possibly vulnerable
hugo edge-community 0.142.0-r0 Thomas Boerger <thomas@webhippie.de> possibly vulnerable
hugo edge-community 0.141.0-r1 Thomas Boerger <thomas@webhippie.de> possibly vulnerable
hugo edge-community 0.141.0-r0 Thomas Boerger <thomas@webhippie.de> possibly vulnerable
hugo edge-community 0.140.1-r0 Thomas Boerger <thomas@webhippie.de> possibly vulnerable
hugo edge-community 0.139.0-r0 Thomas Boerger <thomas@webhippie.de> possibly vulnerable
hugo 3.24-community 0.160.1-r1 Thomas Boerger <thomas@webhippie.de> possibly vulnerable