Markdown Rendering Vulnerability in Hugo Static Site Generator
CVE-2026-35166

5.3MEDIUM

Key Information:

Vendor

Gohugoio

Status
Vendor
CVE Published:
6 April 2026

What is CVE-2026-35166?

A vulnerability exists in the Hugo static site generator where links and images embedded in Markdown are not adequately escaped when rendered to HTML. This could expose users to potential security risks, especially if they rely on untrusted Markdown content or utilize custom render hooks that affect link and image processing. The issue has been addressed and resolved in version 0.159.2.

Affected Version(s)

hugo >= 0.60.0, < 0.159.2

References

CVSS V4

Score:
5.3
Severity:
MEDIUM
Confidentiality:
None
Integrity:
None
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
Unknown

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.