CVE-2026-109597
Hugo v0.60.0 before v0.167.0 Stored XSS via Table of Contents Heading IDs
No exploitation reported by the sources we read.
- Published2026-10-12
- WeaknessCWE-79
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2026-10-1223:17CVE publishedNVD
Observed activity
isMalicious corpus · updated 2026-10-23 21:37 UTCBlock these indicators
- Firewall list (EDL, text): https://api.ismalicious.com/edl/cve/CVE-2026-109597?format=txt
- CSV export: https://api.ismalicious.com/edl/cve/CVE-2026-109597?format=csv
- TAXII collection of exploited CVEs
- The EDL and CSV take an API key on the Pro plan.
Versions per branch
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Vendor advisories
hugo: Hugo: Stored cross-site scripting via crafted heading identifiers
grafana as a component of Red Hat Enterprise Linux 10 · grafana-selinux as a component of Red Hat Enterprise Linux 10 · grafana.src as a component of Red Hat Enterprise Linux 10 · +2 more
Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update
Fix
- Vendor fix Red Hat Product Security CVE-2026-109597 · 4 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://images.redhat.com/
- Workaround from the vendor Red Hat Product Security CVE-2026-109597 · 9 productsSanitize author-submitted Markdown files or restrict untrusted contributors from defining custom explicit heading identifiers. Alternatively, avoid calling .TableOfContents or .Fragments.ToHTML within site layout templates.
- No fix available, says the vendor Red Hat Product Security CVE-2026-109597 · 5 productsFix deferred
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof-of-concept repositories
- none listed PoC-in-GitHub
Sources
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
- CVSS 4.0 vector
- 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- Published
- 2026-10-12
- Last Modified
- 2026-10-16
- NVD status
- Awaiting Analysis
Frequently asked questions
What is CVE-2026-109597?
Is CVE-2026-109597 actively exploited?
What is the CVSS score for CVE-2026-109597?
Running hugo? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
- CVE-2024-24786same advisory
- CVE-2026-109596same advisoryHugo from v0.162.0 before v0.167.0 Symlink File Disclosure via Nested Mount Ancestor
- CVE-2026-109595same advisoryHugo v0.84.0 before v0.167.0 Path Traversal via js.Build ESBuild Resolver
- CVE-2026-109574same advisoryHugo before v0.167.0 Path Traversal via css.Sass Import Fallback
- CVE-2026-104935KEVsame week
- CVE-2026-76519KEVsame weekCisco Secure Email Gateway Arbitrary File Write Vulnerability
- CVE-2026-96951KEVsame weekWindows Shell Security Feature Bypass Vulnerability
- CVE-2026-110447KEVsame week