Skip to main content
No exploitation reportedFix available

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?

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
  1. 2026-10-1223:17CVE publishedNVD

Observed activity

isMalicious corpus · updated 2026-10-23 21:37 UTC
Indicators tagged with this CVE, per day0 indicators over 7 days
Block 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

  • CVE-2026-109597 Red Hat Product Security4 products fixed · 5 known affected

    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

  • RHSA-2026:80677 Red Hat Product Security4 products fixed

    Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update

Full record on NVD

Fix

  1. 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/
  2. 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.
  3. 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

  • NVDCVE recordread 2026-10-23
  • CISA-ADPSSVC decisionnone2026-10-13
  • OpenCVESSVC decisionnone—
  • CNACVSS 4.05.1read 2026-10-23
  • CNACVSS 3.15.4read 2026-10-23
  • CNAweakness (CWE)CWE-79read 2026-10-23
  • FIRST EPSSEPSS score0.2 %2026-10-23

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?

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.

Is CVE-2026-109597 actively exploited?

Active exploitation of CVE-2026-109597 has not been confirmed. Its EPSS score was 0.2% on 2026-10-23, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2026-109597?

CVE-2026-109597 has a CVSS v3 base score of 5.4 (MEDIUM severity), with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N.

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