CVE Catalog

CVE-2026-50133

MediumCVSS 6.1
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.19%

9th percentile - higher than 9% of all known CVEs

Summary

Hugo before version 0.162.0 accepts content files in various markup formats. Files mapped to the text/html media type (e.g., .html files under /content) are emitted verbatim into the rendered page, enabling stored XSS attacks.

Risk Assessment

Organizations using Hugo to generate sites from untrusted content sources are vulnerable to stored cross-site scripting, which could lead to session theft or account compromise.

Recommendation

Upgrade Hugo to version 0.162.0 or later immediately to mitigate the XSS vulnerability.

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS