CVE-2024-32875

Hugo doesn't escape markdown title in internal render hooks

Published Apr 23, 2024 CVSS 3.1 · 6.1 Medium EPSS < 1% KEV · Not listed
Description
Hugo is a static site generator. Starting in version 0.123.0 and prior to version 0.125.3, title arguments in Markdown for links and images not escaped in internal render hooks. Hugo users who are impacted are those who have these hooks enabled and do not trust their Markdown content files. The issue is patched in v0.125.3. As a workaround, replace the templates with user defined templates or disable the internal templates.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-1268 Hugo is a static site generator. Starting in version 0.123.0 and prior to version 0.125.3, title arguments in Markdown for links and images not escaped in internal render hooks. Hugo users who are impacted are those who have these hooks enabled and do not trust their Markdown content files. The issue is patched in v0.125.3. As a workaround, replace the templates with user defined templates or disable the internal templates.
Github GHSA Github GHSA GHSA-ppf8-hhpp-f5hj Hugo Markdown titles do not escaped in internal render hooks
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 2, 2024, 2:20 AM
Reserved
Apr 19, 2024, 2:07 PM
Status
Deferred
Published
Apr 23, 2024, 9:15 PM
Modified
Jun 17, 2026, 7:30 AM