Read the docs
TI-2026-27320 Aliases CVE-2026-35166GHSA-mcv8-8m8x-48pg

Hugo does not properly escape some Markdown links

Priority LOW 23CWE-79Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Passive
Attack complexity
Low
Attack requirements
None
Impact type
Cross-site scripting
Confidentiality · integrity · availability
None · None · None
Fix status
Partial Red Hat: 1 fixed, 3 without a fix

Attack profile from CVSS 4.0 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-79.

Summary

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00192 8th percentileScored 2026-11-07
Fix Partial hugo (gohugoio): 0.159.2github.com/gohugoio/hugo (Go): 0.159.2Red Hat: 1 advisoryRed Hat: 1 fixed, 3 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
gohugoiohugo0.60.0 to before 0.159.20.159.2Patch availableCNA
—github.com/gohugoio/hugo (Go)0.60.0 to before 0.159.20.159.2Patch availableGHSA-mcv8-8m8x-48pg
  • hugo Vendorgohugoio Affected 0.60.0 to before 0.159.2 Fixed in 0.159.2 Patch available CNA
  • github.com/gohugoio/hugo (Go) Vendor— Affected 0.60.0 to before 0.159.2 Fixed in 0.159.2 Patch available GHSA-mcv8-8m8x-48pg

CPE configurations NVD · 3

CPEVersionsRoleVendor
cpe:2.3:a:gohugo:hugo:*:*:*:*:*:linux:*:*0.60.0 to before 0.159.2Vulnerablegohugoio
cpe:2.3:a:gohugo:hugo:*:*:*:*:*:macos:*:*0.60.0 to before 0.159.2Vulnerablegohugoio
cpe:2.3:a:gohugo:hugo:*:*:*:*:*:windows:*:*0.60.0 to before 0.159.2Vulnerablegohugoio
  • cpe:2.3:a:gohugo:hugo:*:*:*:*:*:linux:*:* Versions 0.60.0 to before 0.159.2 Vulnerable ·gohugoio
  • cpe:2.3:a:gohugo:hugo:*:*:*:*:*:macos:*:* Versions 0.60.0 to before 0.159.2 Vulnerable ·gohugoio
  • cpe:2.3:a:gohugo:hugo:*:*:*:*:*:windows:*:* Versions 0.60.0 to before 0.159.2 Vulnerable ·gohugoio

Remediation

  • Fix · CNA hugo (gohugoio) Fixed in 0.159.2
  • Fix · GHSA-mcv8-8m8x-48pg github.com/gohugoio/hugo (Go) Fixed in 0.159.2 Advisory →

Red Hat 1 advisory

  • RHSA-2026:7848 Released 2026-04-13 · Red Hat rating Moderate
    Red Hat Hardened Images RPMs bug fix and enhancement update
    • Red Hat Hardened Images hugo-main@aarch64, hugo-main@src, hugo-main@x86_64

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Build of KueueAffectedNo fix yet: Fix deferred
Red Hat OpenShift GitOpsAffectedNo fix yet: Fix deferred
Red Hat OpenStack Platform 18.0AffectedNo fix yet: Fix deferred
Red Hat Hardened ImagesFixed RHSA-2026:7848

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-35166
  2. 2026-10-03 Alias added: GHSA-mcv8-8m8x-48pg

References

  • TI-2026-64848 Hugo before v0.166.0 Path Traversal via Symlinked Mount Roots CVSS 4.0HIGH 8.7
  • TI-2026-64846 Hugo v0.161.0 to v0.165.0 Arbitrary File Read via Symlinks CVSS 4.0HIGH 8.7
  • TI-2026-53153 Hugo 0.162.0 to 0.164.x - Node Permission Model Bypass via Default TailwindCSS Child-Process Grant CVSS 4.0CRITICAL 9.3
  • TI-2020-16105 Hugo can execute a binary from the current directory on Windows CVSS 3.1HIGH 8.5
  • TI-2026-64849 Hugo v0.162.0 before v0.166.0 IP-literal Deny Rule Bypass CVSS 4.0HIGH 8.6
  • TI-2026-32270 Hugo: Node tool execution allows file system access outside the project directory CVSS 4.0MEDIUM 6.2
See all 15 →

Sources