Skip to main content
VulnerabilityPublished

CVE-2026-50133: gohugoio hugo · Cross-site Scripting

Affects gohugoio hugoSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 5.1 Medium : upgrade to 0.162.0 when convenient.

Data as of 17 Nov 2026, 20:25 UTC

CVSS 4.0 base score
5.1Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.3% chance of exploitation in 30 days – higher than 26% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 0.162.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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 6 Jul 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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 17 Nov 2026.

What to do

Upgrade hugo and github.com/gohugoio/hugo to 0.162.0.

Affected software

ProductAffectedFixed in
gohugoiohugoAffected
  • <0.162.0
Fixed in
  • 0.162.0
Gogithub.com/gohugoio/hugopkg:golang/github.com/gohugoio/hugoOther threatsAffected
  • <0.162.0
Fixed in
  • 0.162.0

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.162.0 or later, where this vulnerability is fixed. No other mitigation is indicated or required by the vendor advisory.

Description

Hugo is a static site generator. Prior to 0.162.0, Hugo accepts content files in several markup formats. Files mapped to the text/html media type (typically .html files under /content, or pages produced by a content adapter that sets content.mediaType = "text/html") had their body emitted verbatim into the rendered page. A site that ingests HTML content from an untrusted source could therefore be served stored cross-site scripting. This vulnerability is fixed in 0.162.0.

References

Community reviews

Loading reviews…