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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| gohugoio | hugo | >= 0.123.0, < 0.125.3 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | hugo | 0.125.4-1 | — |
| Debian 13 | hugo | 0.125.4-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | hugo | No fix yet | — |
| Ubuntu 26.04 LTS | hugo | No fix yet | — |
| Ubuntu 25.10 | hugo | No fix yet | — |
| Ubuntu 22.04 LTS | hugo | No fix yet | — |
| Ubuntu 20.04 LTS | hugo | No fix yet | — |
Show 3 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | hugo | No fix yet | — |
| Ubuntu 16.04 LTS | hugo | No fix yet | — |
| Ubuntu Pro 24.04 LTS | hugo | No fix yet | — |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | hugo-extended | 0.125.3-r0 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | github.com/gohugoio/hugo | >= 0.123.0, < 0.125.3 | 0.125.3 | GHSA-ppf8-hhpp-f5hj |