PT-2026-50156 · Hugo · Hugo

·

CVE-2026-50133

·

Published

2026-06-16

·

Updated

2026-07-30

CVSS v3.1

6.1

Medium

VectorAV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions Hugo versions prior to 0.162.0
Description Hugo accepts content files in various markup formats. Files mapped to the text/html media type, such as .html files located under /content or pages generated by a content adapter where content.mediaType is set to text/html, have their body emitted verbatim into the rendered page. This can lead to stored cross-site scripting if the site ingests HTML content from untrusted sources, such as external APIs, CMS-backed editors, or automated import pipelines.
Recommendations Update to version 0.162.0 or later. As a mitigation measure, configure the security.allowContent whitelist to deny text/html by default.

Exploit

Fix

XSS

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

CVE-2026-50133
GHSA-C54G-XJWJ-8G82
GO-2026-5313
OPENSUSE-SU-2026:21483-1
RHSA-2026:36862

Affected Products

Hugo