{"id":"CVE-2026-50133","revision":"a8cc30bee6f74140beb3e919d8423b81","records":[{"revision":"a8cc30bee6f74140beb3e919d8423b81","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-50133","aliases":[],"title":"Hugo: XSS via text/html content files","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-06T19:31:18.386+00:00","modifiedAt":"2026-07-07T14:44:31.886+00:00","affected":[{"ecosystem":"Vendor product","name":"hugo","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"gohugoio\",\n                    \"product\": \"hugo\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 0.162.0\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 4.0","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","score":5.1,"severity":"MEDIUM"}],"references":["https://github.com/gohugoio/hugo/security/advisories/GHSA-c54g-xjwj-8g82","https://github.com/gohugoio/hugo/commit/e41a06447daa3071a01f333fdcec0a5153c3c8d1","https://github.com/gohugoio/hugo/releases/tag/v0.162.0"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-50133","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-50133","identifiers":["CVE-2026-50133"]},"retained":false,"historicalAffected":[]}],"coverage":[]}