CVE-2026-100694: gohugoio hugo · Cross-site Scripting
Affects gohugoio hugoSource CVE Database V5
Not known to be exploited · CVSS 5.1 Medium : upgrade to 0.166.0 when convenient.
Data as of 9 Nov 2026, 23:24 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 8% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 0.166.0
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 26 Sep 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 9 Nov 2026.
What to do
Upgrade hugo and gohugoio/hugo to 0.166.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| gohugoiohugo | Affected
| Fixed in
|
GitHubgohugoio/hugopkg:github/gohugoio/hugoOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade Hugo to version 0.166.0 or later, which fixes the vulnerability by introducing a security.allowContent allowlist that denies text/org content by default. Sites that intentionally use Org Mode content can opt back in by configuring [security] allowContent = ['.*']. No other mitigation is required if upgrading. Sites that do not process text/org content are not affected.
Description
CVE-2026-100694 is a cross-site scripting (XSS) vulnerability in the Hugo static site generator affecting versions from 0.56.0 up to but not including 0.166.0. The issue arises because content files with the text/org media type are rendered without escaping raw HTML, allowing unescaped HTML to pass through Org export blocks and @@html:...@@ snippets. This can enable an attacker who controls or influences such content files to inject malicious scripts that execute in visitors' browsers. The vulnerability is fixed in version 0.166.0 by introducing a security.allowContent allowlist that denies text/org by default, requiring explicit opt-in for Org Mode content. Only sites that process text/org content are affected, and sites fully trusting their content sources are not impacted.