Vulnerability Description
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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/gohugoio/hugo/security/advisories/GHSA-wcpj-vcvm-j4pg
- https://www.vulncheck.com/advisories/hugo-0.60.0-before-0.167.0-stored-xss-via-t
FAQ
What is CVE-2026-109597?
CVE-2026-109597 is a vulnerability with a CVSS score of 5.4 (MEDIUM). 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 brea...
How severe is CVE-2026-109597?
CVE-2026-109597 has been rated MEDIUM with a CVSS base score of 5.4/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-109597?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.