
CVE catalog
CVE-2026-50133
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 produc
- Severity
- Medium · CVSS 6.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 0.33% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | hugo | sid | 0.168.0-3 | fixed |
| Debian | hugo | forky | 0.167.0-7 | fixed |
| Debian | hugo | trixie | 0.131.0-1 | vulnerable |
| Debian | hugo | bookworm | 0.111.3-1 | vulnerable |
| Cpe | hugo | Not reported | Not reported | vulnerable |
| Cpe | hugo | Not reported | 0.162.0 | fixed |
| Go | github.com/gohugoio/hugo | Not reported | 0.162.0 | fixed |
| Cpe | hugo | Not reported | 0.162.0 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | hugo | source | sid | 0.162.1-1 | not yet assigned | Not reported | Not reported |
| Debian | hugo | source | forky | 0.162.1-1 | not yet assigned | Not reported | Not reported |
| Debian | hugo | source | trixie | (unfixed) | not yet assigned | Not reported | Not reported |
| Debian | hugo | source | bookworm | (unfixed) | not yet assigned | Not reported | Not reported |
| Cpe | hugo | cpe | Not reported | 0.162.0 | Not reported | Not reported | Not reported |
| Go | github.com/gohugoio/hugo | Go | Not reported | 0.162.0 | Not reported | Not reported | Not reported |
| Cpe | hugo | cpe | Not reported | 0.162.0 | Not reported | NVD-CVE-2026-50133 | Not reported |
Notes
[trixie] hugo: Minor issue [bookworm] hugo: Minor issue; unsanitized text/html content files, fixed by security.allowContent default-deny in v0.162.0; mirrors trixie
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [hugo]Affected
Details (2)
0.111.3-1· amd64 · bookwormAffected
nvd · hugo · debian · bookworm; nvd · hugo · debian · 12
0.111.3-1· arm64 · bookwormAffected
nvd · hugo · debian · bookworm; nvd · hugo · debian · 12
[Debian 13 (Trixie)]
- [hugo]Affected
Details (2)
0.131.0-1· amd64 · trixieAffected
nvd · hugo · debian · 13
0.131.0-1· arm64 · trixieAffected
nvd · hugo · debian · 13
Observed:
References
- [https://github.com/gohugoio/hugo/commit/e41a06447daa3071a01f333fdcec0a5153c3c8d1]
- [https://github.com/gohugoio/hugo/releases/tag/v0.162.0]
- [https://github.com/gohugoio/hugo/security/advisories/GHSA-c54g-xjwj-8g82]
- [https://nvd.nist.gov/vuln/detail/CVE-2026-50133]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2026-50133]
- [https://pkg.go.dev/vuln/GO-2026-5313]
- [https://security-tracker.debian.org/tracker/CVE-2026-50133]
- [https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-50133.json]
[Debian Security Tracker] · [FIRST EPSS] · [Go Vulnerability Database] · [National Vulnerability Database (NVD)] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX]