CVE-2026-109597
Hugo v0.60.0 before v0.167.0 Stored XSS via Table of Contents Heading IDs
CVSS Score
5.4
EPSS Score
0.0%
EPSS Percentile
0th
Hugo from v0.60.0 before v0.167.0 contains a stored cross-site scripting vulnerability that allows Markdown content authors to inject HTML by supplying crafted explicit heading IDs. Attackers can break out of the unescaped href attribute in .TableOfContents or .Fragments.ToHTML output to inject elements with event handlers into rendered pages.
| CWE | CWE-79 |
| Vendor | gohugoio |
| Product | hugo |
| Published | Oct 12, 2026 |
Stay Ahead of the Next One
Get instant alerts for gohugoio hugo
Be the first to know when new medium vulnerabilities affecting gohugoio hugo are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
Affected Versions
gohugoio / hugo
0.60.0 < 0.167.0
References
Credits
White0xdi3