๐Ÿ” CVE Alert

CVE-2026-109597

MEDIUM 5.4

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

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/gohugoio/hugo/security/advisories/GHSA-wcpj-vcvm-j4pg vulncheck.com: https://www.vulncheck.com/advisories/hugo-0.60.0-before-0.167.0-stored-xss-via-table-of-contents-heading-ids

Credits

White0xdi3