Skip to main content
← All vulnerabilities
CVE-2026-109597GHSA-WCPJ-VCVM-J4PG

Hugo v0.60.0 before v0.167.0 Stored XSS via Table of Contents Heading IDs

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.167.0
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • gohugoio hugo

    From 0.60.0 · fixed in 0.167.0

References 2

GitHub · gohugoio/hugo

vulncheck.com