{"id":"CVE-2026-50133","revision":"ac54bda377c94443bf7f4db82bc86b13","records":[{"revision":"ac54bda377c94443bf7f4db82bc86b13","observedAt":"2026-10-25T12:17:38.331+00:00","statement":{"source":"nvd","id":"CVE-2026-50133","aliases":[],"title":"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 conten…","description":"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.","state":0,"publishedAt":"2026-07-06T20:16:37.043+00:00","modifiedAt":"2026-07-08T03:08:33.383+00:00","affected":[],"metrics":[{"system":"CVSS 4.0 · security-advisories@github.com · Secondary","vector":"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","score":5.1,"severity":"MEDIUM"},{"system":"CVSS 3.1 · nvd@nist.gov · Primary","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","score":6.1,"severity":"MEDIUM"}],"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"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-50133","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Analyzed","weaknesses":["CWE-79"],"productCriteria":["cpe:2.3:a:gohugo:hugo:*:*:*:*:*:*:*:*"],"sourceDates":{"published":"2026-07-06T20:16:37.043","lastModified":"2026-07-08T03:08:33.383"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2026-50133","identifiers":["CVE-2026-50133"]},"retained":false,"historicalAffected":[]}],"coverage":[]}