CVE-2026-140394
medium
CVSS v3
5.4
CVSS v4 NEW
5.1
VIR risk
5.4
Description
Hugo highlight wrapperClass option allows stored cross-site scripting
Predictions
Exploit likelihood
64%
Patch ETA
—
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| Go | github.com/gohugoio/hugo | >=0.140.2,<0.170.0 | 0.170.0 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| gohugoio | hugo | {"startIncluding":"0.140.2","endExcluding":"0.170.0"} | 0.170.0 |
References
- https://github.com/gohugoio/hugo/security/advisories/GHSA-4whp-jx7j-xvrm
- https://www.vulncheck.com/advisories/hugo-0.140.2-before-0.170.0-stored-xss-via-highlight-shortcode-wrapperclass
- https://github.com/gohugoio/hugo/pull/15564
- https://github.com/gohugoio/hugo/commit/bdde5aa5155c6c349a743e71dc846bef754b6773
- https://github.com/gohugoio/hugo
- https://github.com/gohugoio/hugo/releases/tag/v0.170.0
CWEs
CWE-79
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.