PatchSiren cyber security CVE debrief
CVE-2026-50133 gohugoio CVE debrief
CVE-2026-50133 is a stored cross-site scripting vulnerability in Hugo, a static site generator. Prior to version 0.162.0, Hugo accepts content files in several markup formats. Files mapped to the text/html media type 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.
- Vendor
- gohugoio
- Product
- hugo
- CVSS
- MEDIUM 5.1
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-07-06
- Original CVE updated
- 2026-07-08
- Advisory published
- 2026-07-06
- Advisory updated
- 2026-07-08
Who should care
Users of Hugo, a static site generator, who ingest HTML content from untrusted sources should be aware of this vulnerability. This includes developers, web administrators, and security teams responsible for managing and securing websites generated with Hugo.
Technical summary
The vulnerability exists because Hugo, prior to version 0.162.0, does not properly sanitize HTML content from untrusted sources when it is emitted into the rendered page. This allows an attacker to inject malicious JavaScript code, potentially leading to stored cross-site scripting attacks. The vulnerability has a CVSS score of 5.1 and is classified as MEDIUM severity. A site that ingests HTML content from an untrusted source could therefore be served stored cross-site scripting. Files mapped to the text/html media type had their body emitted verbatim into the rendered page.
Defensive priority
Medium priority should be given to updating Hugo to version 0.162.0 or later, especially for sites that ingest HTML content from untrusted sources. Additionally, site administrators should review their content ingestion processes to ensure proper sanitization of user-supplied content.
Recommended defensive actions
- Update Hugo to version 0.162.0 or later
- Review content ingestion processes to ensure proper sanitization of user-supplied content
- Monitor site activity for suspicious behavior
- Review compensating controls for exposed systems while remediation is scheduled and verified
- Check relevant monitoring, detection, and logs for exposed assets that need extra review
- Track exceptions, retest remediated assets, and close the item only after evidence is documented
- Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up
Evidence notes
The CVE record was published on 2026-07-06T20:16:37.043Z and was last modified on 2026-07-07T15:16:47.597Z. The NVD entry is currently Undergoing Analysis. The vulnerability is fixed in Hugo version 0.162.0.
Official resources
-
CVE-2026-50133 CVE record
CVE.org
-
CVE-2026-50133 NVD detail
NVD
-
Source item URL
nvd_modified
-
Mitigation or vendor reference
[email protected] - Patch
-
Mitigation or vendor reference
[email protected] - Release Notes
-
Mitigation or vendor reference
[email protected] - Vendor Advisory
AI-assisted PatchSiren debrief based on the supplied source corpus. The CVE record was published on 2026-07-06T20:16:37.043Z and has not been modified since then. The NVD entry is currently Undergoing Analysis.