CVSS 4.0
5.1 mediumCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:NMedium (5.1) in gohugoio hugo. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:NCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:NExplain CVE-2026-109597 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-109597?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-109597?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-109597 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| gohugoio hugo | from 0.60.0 before 0.167.0 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12, 13 | hugo | no fix listed | DEBIAN-CVE-2026-109597 |
| Debian | 14 | hugo | 0.167.0-1 | DEBIAN-CVE-2026-109597 |
| Ubuntu | 16.04:LTS, 18.04:LTS, 20.04:LTS and 4 more | hugo | no fix listed | UBUNTU-CVE-2026-109597 |
| Red Hat | hummingbird:1 | hugo | 0:0.167.0-0.2.hum1 | RHSA-2026:80677 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat.
Red Hat rates this Moderate.
A flaw was found in Hugo when rendering Markdown heading identifiers into table of contents and fragment HTML structures (.TableOfContents or .Fragments.ToHTML). Hugo fails to sanitize or escape explicit heading IDs before embedding them into anchor href attributes. An attacker with permissions to author or commit Markdown content can supply crafted heading identifiers to break out of the attribute context and inject arbitrary HTML elements and event handlers, resulting in stored cross-site scripting (XSS) executing in the browser context of visiting users.
Sanitize 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.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Hardened Images | hugo-main-0.167.0-0.2.hum1 | Fixed 2026-10-12 | RHSA-2026:80677 |
| Red Hat Enterprise Linux 10 | grafana | Fix deferred | |
| Red Hat Hardened Images | grafana12.4 | Not affected | |
| Red Hat Hardened Images | grafana13.1 | Not affected | |
| Red Hat Hardened Images | grafana13.2 | Not affected | |
| Red Hat OpenShift GitOps | openshift-gitops-1/argocd-rhel9 | Fix deferred | |
| Red Hat OpenStack Platform 18.0 | rhoso-operators/openstack-operator-bundle | Fix deferred |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-109597.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.