CVE-2026-50133 json
Hugo: XSS via text/html content files
published 2026-06-16 4 mo ago modified 2026-10-25 14 d ago also EUVD-2026-41909 , GHSA-c54g-xjwj-8g82 , GO-2026-5313 , JLSEC-2026-794
- cvss
- 6.1
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 25%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go github.com/gohugoio/hugo 0.162.0
- julia Hugo_jll 0.163.3+0
- gohugo hugo 0.162.0
- hugo Debian 14 0.162.1-1
debian advisories DEBIAN-CVE-2026-50133
- hugo hummingbird 1 0.163.3-0.1.hum1
red hat advisories RHSA-2026:36862
- govulncheck-vulndb openSUSE Leap 16.0 0.0.20260723T184607-160000.1.1
opensuse advisories openSUSE-SU-2026:21483-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-50133 updated cvss 6.1
github.com/gohugoio/hugo: Hugo: Cross-site Scripting via untrusted HTML content files
-
Red Hat Hardened Images hugo 0.163.3-0.1.hum1fixed: vendor fix RHSA-2026:36862
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 4 mo ago
Exploit prediction
0.33% chance of exploitation in the next 30 days, higher than 25% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 5.1 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N |
| CNA | 4.0 | 5.1 | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| NVD | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
| OSV | 3.1 | 6.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/gohugoio/hugo | <0.162.0 |
0.162.0 |
| julia | Hugo_jll | <0.163.3+0 |
0.163.3+0 |
Affected products
- gohugoio hugo
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/gohugoio/hugo/commit/e41a06447daa3071a01f333fdcec0a5153c3c8d1
web, patch
-
github.com
/gohugoio/hugo/security/advisories/GHSA-c54g-xjwj-8g82
web, vendor-advisory, advisory
-
github.com
/gohugoio/hugo/releases/tag/v0.162.0
web, release-notes
-
github.com
/gohugoio/hugo
package
-
github.com
/advisories/GHSA-c54g-xjwj-8g82
web
Sources
- CVE List CVE-2026-50133
- GitHub Advisory GHSA-c54g-xjwj-8g82
- NVD CVE-2026-50133
- OSV GO-2026-5313
- OSV JLSEC-2026-794
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.