Read the docs
TI-2024-36910 Aliases CVE-2024-55601GHSA-c2xf-9v2r-r2rx

Hugo does not escape some attributes in internal templates

Priority LOW 25CWE-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 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. Starting in version 0.123.0 and prior to version 0.139.4, some HTML attributes in Markdown in the internal templates listed below not escaped in internal render hooks. Those whoa re impacted are Hugo users who do not trust their Markdown content files and are using one or more of these templates: `_default/_markup/render-link.html` from `v0.123.0`; `_default/_markup/render-image.html` from `v0.123.0`; `_default/_markup/render-table.html` from `v0.134.0`; and/or `shortcodes/youtube.html` from `v0.125.0`. This issue is patched in v0.139.4. As a workaround, one may replace an affected component with user defined templates or disable the internal templates.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00599 48th percentileScored 2026-11-07
Fix Partial hugo (gohugoio): 0.139.4github.com/gohugoio/hugo (Go): 0.139.4Red Hat: 1 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.123.0 to before 0.139.40.139.4Patch availableCNA
—github.com/gohugoio/hugo (Go)0.123.0 to before 0.139.40.139.4Patch availableGHSA-c2xf-9v2r-r2rx
  • hugo Vendorgohugoio Affected 0.123.0 to before 0.139.4 Fixed in 0.139.4 Patch available CNA
  • github.com/gohugoio/hugo (Go) Vendor— Affected 0.123.0 to before 0.139.4 Fixed in 0.139.4 Patch available GHSA-c2xf-9v2r-r2rx

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:gohugo:hugo:*:*:*:*:*:*:*:*——gohugoio
  • cpe:2.3:a:gohugo:hugo:*:*:*:*:*:*:*:* Versions — — ·gohugoio

Remediation

  • Fix · CNA hugo (gohugoio) Fixed in 0.139.4
  • Fix · GHSA-c2xf-9v2r-r2rx github.com/gohugoio/hugo (Go) Fixed in 0.139.4 Advisory →

Vendor assessments

Red Hat

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

ProductStatusPlan or fix
Red Hat OpenShift AI (RHOAI)AffectedNo fix yet: Fix deferred
Not affected: 1 product
  • Red Hat OpenShift GitOps

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-55601
  2. 2026-10-03 Alias added: GHSA-c2xf-9v2r-r2rx

References

  • TI-2026-60433 Hugo before v0.165.0 Insufficient Permission Restriction via TailwindCSS CVSS 4.0CRITICAL 9.3
  • TI-2026-60432 Hugo before v0.165.0 Symlink Confinement Bypass via resources.Get CVSS 4.0CRITICAL 9.3
  • 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
See all 24 →

Sources