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
References
History
Tue, 20 Oct 2026 00:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| References |
| |
| Metrics |
threat_severity
|
threat_severity
|
Tue, 13 Oct 2026 17:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
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
|
Status: PUBLISHED
Assigner: VulnCheck
Published: 2026-10-12T22:21:51.941Z
Updated: 2026-10-13T16:46:06.110Z
Reserved: 2026-10-12T20:59:18.909Z
Link: CVE-2026-109597
Updated: 2026-10-13T15:48:38.234Z
Status : Awaiting Analysis
Published: 2026-10-12T23:17:23.183
Modified: 2026-10-16T19:15:07.947
Link: CVE-2026-109597