Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › Vendors

gohugoio vulnerabilities

RSS feed

Security vulnerabilities in gohugoio products, with severity, exploitation status (CISA KEV), EPSS and every source we track. Since November 30, 2026: 2 CVEs.

2CVEs tracked
0Actively exploited
0Critical
0News & advisories

Products:hugo

Latest vulnerabilities and news
Severity
All categories
High 8.7 2 CVEs Analysis
gohugoio hugo: 2 vulnerabilities
NVD · · gohugoio

Two Hugo vulnerabilities published by NVD on 2026-12-01 affect versions before 0.170.0: a high-severity path traversal (CVE-2026-140395, CVSS 8.7) that can expose build host files, and a medium-severity stored cross-site scripting flaw (CV…

  • CVE-2026-140395 8.7 Hugo from 0.56.0 before 0.170.0 contains a path traversal vulnerability that allows malicious themes or modules to read…
  • CVE-2026-140394 5.1 Hugo after 0.140.2 and before 0.170.0 contains a stored cross-site scripting vulnerability in the highlight shortcode a…
JavaScriptVulnerabilitiesWeb
Medium 4.6
GHSA-4whp-jx7j-xvrm — Hugo highlight wrapperClass option allows stored cross-site scripting
GitHub Advisory · · go:github.com/gohugoio/hugo

Summary The wrapperClass option of the built-in highlight shortcode (and the transform.Highlight template function) was written unescaped into the wrapping <div class="...">, allowing a content author to inject arbitrary HTML/JavaScript into the rendered page…

JavaScriptGoWebVulnerabilities
Medium 6.7
GHSA-r48v-r4vw-h9v8 — Hugo: Build-host file disclosure through path traversal in vendored module metadata
GitHub Advisory · · go:github.com/gohugoio/hugo

Summary A theme or module can ship a vendor/modules.txt with an import path containing .. segments. Hugo used this path as the module's root directory without checking that it stays inside vendor, so a malicious theme can make Hugo treat any directory on the…

GoWebVulnerabilities
Medium 6.7
GHSA-r73q-gwx2-fpxm — Hugo theme-defined module replacements bypass mount restrictions and widen the Node.js read sandbox
GitHub Advisory · · go:github.com/gohugoio/hugo

Summary A theme or module could define its own module.replacements and mount directories anywhere on the host. Details A theme or module could define its own module.replacements. If the project didn't set any replacements, Hugo applied the theme's replacement…

JavaScriptGoWebVulnerabilities