Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/gohugoio/hugo
  4. ›
  5. CVE-2024-32875

CVE-2024-32875: Hugo Markdown titles do not escaped in internal render hooks

April 23, 2024

Title argument in Markdown for links and images not escaped in internal render hooks. Impacted are Hugo users who have these hooks enabled and do not trust their Markdown content files.

References

  • github.com/advisories/GHSA-ppf8-hhpp-f5hj
  • github.com/gohugoio/hugo
  • github.com/gohugoio/hugo/commit/15a4b9b33715887001f6eff30721d41c0d4cfdd1
  • github.com/gohugoio/hugo/releases/tag/v0.125.3
  • github.com/gohugoio/hugo/security/advisories/GHSA-ppf8-hhpp-f5hj
  • nvd.nist.gov/vuln/detail/CVE-2024-32875

Code Behaviors & Features

Detect and mitigate CVE-2024-32875 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 0.123.0 before 0.125.3

Fixed versions

  • 0.125.3

Solution

Upgrade to version 0.125.3 or above.

Impact 6.1 MEDIUM

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

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

go/github.com/gohugoio/hugo/CVE-2024-32875.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:16 +0000.