5.4

CVE-2026-35166: gohugo hugo Cross-site Scripting

CVSS: 5.4v3.1MediumAnalyzed
AliasesRHSA-2026:7848UBUNTU-CVE-2026-35166DEBIAN-CVE-2026-35166
Published 06-04-2026Last modified 06-04-2026

Vulnerability summary

CVE-2026-35166 is a medium (CVSS 5.4) Cross-site Scripting vulnerability in gohugo hugo. EPSS estimates a 0.23% chance of exploitation in the next 30 days, higher than 13.3% of scored vulnerabilities.

Overall risk
22/100
0100
Low · default modelHow is this calculated?
CVSS score
5.4/10
010
Medium · v3.1 (NVD)
EPSS score
0.23%
0%100%
Low · +0.05 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 1 · Related 1

Timeline

  1. 06-04-2026
    PublishedVulnerability first disclosed.
  2. 06-04-2026
    Last modifiedVulnerability information updated.

Description

Hugo is a static site generator. From 0.60.0 to before 0.159.2, links and image links in the default markdown to HTML renderer are not properly escaped. Hugo users who trust their Markdown content or have custom render hooks for links and images are not affected. This vulnerability is fixed in 0.159.2.

CVSS metrics

8 scores · 6 sources · 2 versions

EPSS trend

Probability

0.23%

Chance of exploitation in the next 30 days

Percentile

13%

Versus all other CVEs

30-day change

+0.05 pp

From 0.18% on 21-09-2026

21-09-202621-10-2026
EPSS score
0.23%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Debian1 product
  • hugoAll versions (No fix recorded) | < 0.159.2-1
Github.com/gohugoio1 product
  • hugo≥ 0.60.0, < 0.159.2
Gohugo1 product
  • hugo≥ 0.60.0, < 0.159.2
Gohugoio1 product
  • hugo≥ 0.60.0, < 0.159.2
Redhat1 product
  • hugo< 0:0.160.1-2.hum1
Ubuntu1 product
  • hugoAll versions (No fix recorded)

6 vendors · 6 products

References

13 links
Show all 13 references