CVE-2026-109597
5.1medium
Hugo v0.60.0 before v0.167.0 Stored XSS via Table of Contents Heading IDs
- Severity
- 5.1medium CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.17% (higher than 6% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| gohugoio hugo | from 0.60.0 before 0.167.0 Not affected: 0.167.0 | CVE List |
All scores
| VulnCheck | 5.1medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N |
| VulnCheck | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-109597 changed 2026-10-13 | CVE Terms of Use |
| NVD | CVE-2026-109597 changed 2026-10-16 | Public domain |