Skip to main content
← All vulnerabilities
CVE-2024-32875GHSA-PPF8-HHPP-F5HJGO-2024-2747

Hugo doesn't escape markdown title in internal render hooks

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.125.3
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • gohugoio hugo

    From 0.123.0 · fixed in 0.125.3

  • github.com/gohugoio/hugoGo

    From 0.123.0 · fixed in 0.125.3

References 3

GitHub · gohugoio/hugo

gohugo.io