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.
CVE-2026-50133
This medium-severity CVE scores 5.1 under the CNA's CVSS (NVD's own analysis pending). EPSS exploit-prediction score not yet available (the EPSS model rescores nightly; freshly-published CVEs typically appear within 48 hours). GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- Lower severity and no public exploit yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 5.1
- EG Score
- 5.1(low)
- EPSS
- —
- KEV
- Not listed
Published
June 16, 2026
Last Modified
July 6, 2026
References (3)
- security-advisories@githubhttps://github.com/gohugoio/hugo/commit/e41a06447daa3071a01f333fdcec0a5153c3c8d1
- security-advisories@githubhttps://github.com/gohugoio/hugo/releases/tag/v0.162.0
- security-advisories@githubhttps://github.com/gohugoio/hugo/security/advisories/GHSA-c54g-xjwj-8g82
Vendor Advisories for CVE-2026-50133(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Affected Packages
(1 across 1 ecosystem)
Go(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| github.com/gohugoio/hugo | — | 0.162.0 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 2× in last 7d / 3× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-06 19:47 UTCEG score recompute▲ 5.10
- 2026-07-06 19:44 UTCMITRE cvelistV5CVSS v3 → 5.1 · CVSS v4 → 5.1
- 2026-06-16 19:44 UTCEG score recompute
Related CVEs(same CWE)
Frequently asked(4)
What is CVE-2026-50133?
When was CVE-2026-50133 disclosed?
What is the CVSS score of CVE-2026-50133?
How do I remediate CVE-2026-50133?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2026-50133
Is Your Infrastructure Affected by CVE-2026-50133?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.