# CVE-2024-32875: Hugo doesn't escape markdown title in internal render hooks

- Severity: Medium 6.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.54%, higher than 46% of CVEs (2026-12-01)
- Published: 2024-04-23T20:23:42.535Z
- Modified: 2026-09-10T03:50:11.361Z
- Also known as: GHSA-ppf8-hhpp-f5hj, GO-2024-2747
- Related: CGA-7r6q-r9xj-7h22
- Weaknesses: CWE-79, CWE-80
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- gohugoio hugo: >= 0.123.0, < 0.125.3
- gohugo hugo: from 0.123.0 before 0.125.3
- github.com/gohugoio/hugo (Go): from 0.123.0 before 0.125.3

## Every score

- GitHub_M: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/gohugoio/hugo/security/advisories/GHSA-ppf8-hhpp-f5hj> (advisory, web)
- <https://github.com/gohugoio/hugo/releases/tag/v0.125.3> (web)
- <https://gohugo.io/getting-started/configuration-markup/#renderhooksimageenabledefault> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-32875> (advisory)
- <https://github.com/gohugoio/hugo/commit/15a4b9b33715887001f6eff30721d41c0d4cfdd1> (fix, web)
- <https://github.com/gohugoio/hugo> (package)
- <https://pkg.go.dev/vuln/GO-2024-2747> (web)

## Sources

- CVE List: [CVE-2024-32875](https://www.cve.org/CVERecord?id=CVE-2024-32875), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-ppf8-hhpp-f5hj](https://github.com/advisories/GHSA-ppf8-hhpp-f5hj), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2024-2747](https://pkg.go.dev/vuln/GO-2024-2747), CC-BY-4.0, modified 2026-02-04
- NVD: [CVE-2024-32875](https://nvd.nist.gov/vuln/detail/CVE-2024-32875), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-32875 · Whole record: https://cve.day/CVE-2024-32875.json · Rebuilt by cve.day 2026-11-25T22:58:39.537Z
