Headline
GHSA-ppf8-hhpp-f5hj: Hugo Markdown titles do not escaped in internal render hooks
Impact
Title argument in Markdown for links and images not escaped in internal render hooks. Impacted are Hugo users who have these hooks enabled and do not trust their Markdown content files.
Patches
Patched in v0.125.3.
Workarounds
Replace with user defined templates or disable the internal templates: https://gohugo.io/getting-started/configuration-markup/#renderhooksimageenabledefault
References
https://github.com/gohugoio/hugo/releases/tag/v0.125.3
Skip to content
Navigation Menu
Actions
Automate any workflow
Packages
Host and manage packages
Security
Find and fix vulnerabilities
Codespaces
Instant dev environments
Copilot
Write better code with AI
Code review
Manage code changes
Issues
Plan and track work
Discussions
Collaborate outside of code
GitHub Sponsors
Fund open source developers
* The ReadME Project
GitHub community articles
- Pricing
Provide feedback
Saved searches****Use saved searches to filter your results more quickly
Sign up
- GitHub Advisory Database
- GitHub Reviewed
- CVE-2024-32875
Hugo Markdown titles do not escaped in internal render hooks
Moderate severity GitHub Reviewed Published Apr 23, 2024 in gohugoio/hugo • Updated Apr 23, 2024
Package
gomod github.com/gohugoio/hugo (Go)
Affected versions
>= 0.123.0, < 0.125.3
Description
Published to the GitHub Advisory Database
Apr 23, 2024
Last updated
Apr 23, 2024