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.
Metrics
Affected Vendors & Products
Advisories
No advisories yet.
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
Mon, 12 Oct 2026 22:45:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | Hugo v0.60.0 before v0.167.0 Stored XSS via Table of Contents Heading IDs | |
| First Time appeared |
Gohugo
Gohugo hugo |
|
| Weaknesses | CWE-79 | |
| CPEs | cpe:2.3:a:gohugo:hugo:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Gohugo
Gohugo hugo |
|
| References |
| |
| Metrics |
cvssV3_1
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: VulnCheck
Published:
Updated: 2026-10-12T22:21:51.941Z
Reserved: 2026-10-12T20:59:18.909Z
Link: CVE-2026-109597
No data.
Status : Received
Published: 2026-10-12T23:17:23.183
Modified: 2026-10-12T23:17:23.183
Link: CVE-2026-109597
No data.
OpenCVE Enrichment
Updated: 2026-10-13T00:00:16Z
Weaknesses