CVE-2024-32875

medium

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.

References

https://gohugo.io/getting-started/configuration-markup/#renderhooksimageenabledefault

https://github.com/gohugoio/hugo/security/advisories/GHSA-ppf8-hhpp-f5hj

https://github.com/gohugoio/hugo/releases/tag/v0.125.3

Details

Source: Mitre, NVD

Published: 2024-04-23

Updated: 2024-04-24

Risk Information

CVSS v2

Base Score: 6.4

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:N

Severity: Medium

CVSS v3

Base Score: 6.1

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Severity: Medium