Lucene search

K
vulnrichmentGitHub_MVULNRICHMENT:CVE-2024-32875
HistoryApr 23, 2024 - 8:23 p.m.

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

2024-04-2320:23:42
CWE-80
CWE-79
GitHub_M
github.com
4
hugo
static site generator
markdown title
internal render hooks
vulnerability
patched
workaround

CVSS3

6.1

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

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

SSVC

Exploitation

none

Automatable

no

Technical Impact

partial

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.

ADP Affected

[
  {
    "cpes": [
      "cpe:2.3:a:gohugo:hugo:0.123.0:*:*:*:*:*:*:*"
    ],
    "vendor": "gohugo",
    "product": "hugo",
    "versions": [
      {
        "status": "affected",
        "version": "0.123.0",
        "lessThan": "0.125.3",
        "versionType": "custom"
      }
    ],
    "defaultStatus": "unknown"
  }
]

CVSS3

6.1

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

REQUIRED

Scope

CHANGED

Confidentiality Impact

LOW

Integrity Impact

LOW

Availability Impact

NONE

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

SSVC

Exploitation

none

Automatable

no

Technical Impact

partial