# CVE-2024-55601: GO-2024-3314 - Hugo does not escape some attributes in internal templates in github.com/gohugoio/hugo

Source: https://junglewise.ai/threats/cve-2024-55601-hugo-does-not-escape-some-attributes-in-internal-templates  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-12-10  
License: CC BY 4.0 with a link back

CVE-2024-55601 · Severity: medium · CVSS 4 · Published 2024-12-10

Hugo does not escape some attributes in internal templates in github.com/gohugoio/hugo

Technologies: [github.com/gohugoio/hugo (Go)](https://junglewise.ai/threats/technologies/github-com-gohugoio-hugo). Vendors: [Go](https://junglewise.ai/threats/vendors/go).

## Quick answers

**Is CVE-2024-55601 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2024-55601 being exploited in the wild.

**How severe is CVE-2024-55601?** Medium severity, with a CVSS score of 4, published 10 December 2024.

**Which products and versions are affected?** github.com/gohugoio/hugo (Go) SEMVER:introduced=0.123.0,fixed=0.139.4.

**Is there a fix for CVE-2024-55601?** Yes. github.com/gohugoio/hugo (Go): upgrade to 0.139.4 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2024-55601?** Check whether you run github.com/gohugoio/hugo (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- github.com/gohugoio/hugo (Go): upgrade to 0.139.4 or later

  ```sh
  go get github.com/gohugoio/hugo@v0.139.4
  ```


## Affected products

- github.com/gohugoio/hugo (Go) SEMVER:introduced=0.123.0,fixed=0.139.4

## Identifiers

- CVE-2024-55601
- GHSA-c2xf-9v2r-r2rx
- GO-2024-3314

## Related threats

- [Hugo symlink confinement bypass in resources.Get](https://junglewise.ai/threats/cve-2026-50135-hugo-symlink-confinement-bypass-in-resources-get)
- [Hugo SSRF bypass via alternate IPv4 encodings in security.http.urls](https://junglewise.ai/threats/cve-2026-58404-hugo-ssrf-bypass-via-alternate-ipv4-encodings-in-security-http)
- [Hugo symlink confinement bypass in virtual filesystem](https://junglewise.ai/threats/cve-2026-58403-hugo-symlink-confinement-bypass-in-virtual-filesystem)
- [Hugo XSS in default code-block renderer](https://junglewise.ai/threats/cve-2026-58402-hugo-xss-in-default-code-block-renderer)
- [Hugo SSRF via HTTP redirect bypass in resources.GetRemote](https://junglewise.ai/threats/cve-2026-50134-hugo-ssrf-via-http-redirect-bypass-in-resources-getremote)
