CVE-2024-55601
published medium CVSS 4.0 · 5.3Hugo does not escape some attributes in internal templates
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| gohugoio | — | hugo>= 0.123.0, < 0.139.4 | Affected | Not stated | GitHub_M |
| Alpine Linux | edge | hugo | Fixed | 0.140.1-r0 | Package fix record |
| SUSE / openSUSE | openSUSE-Tumbleweed | govulncheck-vulndbaarch64 | Advisory build | 0.0.20241213T205935-1.1 | OPENSUSE-SU-2024:14599-1 |
| Alpine Linux | v3.22 | hugo | Fixed | 0.140.1-r0 | Package fix record |
| Alpine Linux | v3.23 | hugo | Fixed | 0.140.1-r0 | Package fix record |
| Alpine Linux | v3.24 | hugo | Fixed | 0.140.1-r0 | Package fix record |
| SUSE / openSUSE | openSUSE-Tumbleweed | govulncheck-vulndbppc64le | Advisory build | 0.0.20241213T205935-1.1 | OPENSUSE-SU-2024:14599-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | govulncheck-vulndbs390x | Advisory build | 0.0.20241213T205935-1.1 | OPENSUSE-SU-2024:14599-1 |
Show 1 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | govulncheck-vulndbx86_64 | Advisory build | 0.0.20241213T205935-1.1 | OPENSUSE-SU-2024:14599-1 |
Description
Hugo is a static site generator. Starting in version 0.123.0 and prior to version 0.139.4, some HTML attributes in Markdown in the internal templates listed below not escaped in internal render hooks. Those whoa re impacted are Hugo users who do not trust their Markdown content files and are using one or more of these templates: `_default/_markup/render-link.html` from `v0.123.0`; `_default/_markup/render-image.html` from `v0.123.0`; `_default/_markup/render-table.html` from `v0.134.0`; and/or `shortcodes/youtube.html` from `v0.125.0`. This issue is patched in v0.139.4. As a workaround, one may replace an affected component with user defined templates or disable the internal templates.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| gohugoio | hugo | >= 0.123.0, < 0.139.4 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
4Provider assertions
2GitHub_M · cna
Hugo does not escape some attributes in internal templates
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- c7a4c095e53646419dcde2d6902f82f2b2dc188e7a0bd6b2174253d1397b1fad
- Ingested
- 23 Sep 2026, 08:31:43 UTC
- Source record
- Official CVE record