Home / gohugoio / hugo / CVE-2024-55601
CVE-2024-55601: is it exploited, and which versions of gohugoio hugo are affected and fixed?
CVE-2024-55601 is a cross-site scripting (XSS) vulnerability in gohugoio hugo. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 15:09 UTC). Affected: github.com/gohugoio/hugo from 0.123.0 before 0.139.4 (GitHub advisory GHSA-c2xf-9v2r-r2rx). Fixed in 0.139.4 (GitHub advisory GHSA-c2xf-9v2r-r2rx). Severity: Medium (5.3, CVSS 4.0, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:09 UTC, CVE record November 19, 2026, 07:10 UTC and NVD November 19, 2026, 07:24 UTC.
What is CVE-2024-55601?
Hugo does not escape some attributes in internal templates
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.
From the CVE record by GitHub_M, last updated December 10, 2024, 17:13 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| gohugoio | hugo | >= 0.123.0, < 0.139.4 |
As the CVE record by GitHub_M states it, last updated December 10, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Go | github.com/gohugoio/hugo | >= 0.123.0, < 0.139.4 | 0.139.4 | GHSA-c2xf-9v2r-r2rx |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated December 10, 2024. Summary: Hugo does not escape some attributes in internal templates.
How severe is CVE-2024-55601?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.3 | CVSS 4.0 | 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 | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2024-55601 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, December 10, 2024)
- EPSS
- 0.60% probability of exploitation activity in the next 30 days, percentile 50.1 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-79 Improper Neutralization of Input During Web Page Generation
Where are the vendor advisories and references?
- https://github.com/gohugoio/hugo/security/advisories/GHSA-c2xf-9v2r-r2rx x_refsource_CONFIRM
- https://github.com/gohugoio/hugo/commit/54398f8d572c689f9785d59e907fd910a23401b0 x_refsource_MISC
- https://github.com/gohugoio/hugo/releases/tag/v0.139.4 x_refsource_MISC
- https://gohugo.io/getting-started/configuration-markup/#renderhooksimageenabledefault x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- December 9, 2024
- Published
- December 9, 2024, 21:11 UTC
- CVE record updated
- December 10, 2024, 17:13 UTC by GitHub_M
- NVD
- Deferred, last modified June 17, 2026, 08:11 UTC
- Last checked
- CVE list November 19, 2026, 07:10 UTC; NVD November 19, 2026, 07:24 UTC; KEV December 3, 2026, 15:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect hugo?
- Dec 1, 2026CVE-2026-140394 gohugoio hugo: cross-site scripting (XSS)
- Dec 1, 2026CVE-2026-140395 gohugoio hugo: path traversal (reading or writing files outside the intended folder)
- Oct 12, 2026CVE-2026-109597 gohugoio hugo: cross-site scripting (XSS)
- Oct 12, 2026CVE-2026-109596 gohugoio hugo: link following (a symlink lets an attacker reach other files)
- Oct 12, 2026CVE-2026-109595 gohugoio hugo: path traversal (reading or writing files outside the intended folder)
- Oct 12, 2026CVE-2026-109574 gohugoio hugo: path traversal (reading or writing files outside the intended folder)
- Sep 26, 2026CVE-2026-100694 gohugoio hugo: cross-site scripting (XSS)
- Sep 26, 2026CVE-2026-100693 gohugoio hugo: improper Handling of Case Sensitivity
Questions about CVE-2024-55601
Is CVE-2024-55601 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:09 UTC. FIRST's EPSS gives it a 0.60% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of gohugoio hugo are affected by CVE-2024-55601?
github.com/gohugoio/hugo from 0.123.0 before 0.139.4, per the GitHub advisory GHSA-c2xf-9v2r-r2rx. The tables above give every range the sources list.
Which version fixes CVE-2024-55601?
0.139.4, per the GitHub advisory GHSA-c2xf-9v2r-r2rx. Check the vendor's advisory before you rely on it.
How severe is CVE-2024-55601?
Medium (5.3, CVSS 4.0, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2024-55601?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.