Security mailing lists by PureSourceCode

CVE-2026-35166

MEDIUM 5.3CVSS 4.0

Hugo: Certain markdown links are not properly escaped

Hugo is a static site generator. From 0.60.0 to before 0.159.2, links and image links in the default markdown to HTML renderer are not properly escaped. Hugo users who trust their Markdown content or have custom render hooks for links and images are not affected. This vulnerability is fixed in 0.159.2.

Published
6 Apr 2026
Last modified
24 Oct 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-79
Also known as
GHSA-mcv8-8m8x-48pgGO-2026-5504
Sources
NVDJSONOSV GHSA-mcv8-8m8x-48pgJSONOSV GO-2026-5504JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 4.0 MEDIUM 5.3 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 5.4 CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD gohugo hugo
cpe:2.3:a:gohugo:hugo:*:*:*:*:*:linux:*:*
>= 0.60.0, < 0.159.2 0.159.2
NVD gohugo hugo
cpe:2.3:a:gohugo:hugo:*:*:*:*:*:macos:*:*
>= 0.60.0, < 0.159.2 0.159.2
NVD gohugo hugo
cpe:2.3:a:gohugo:hugo:*:*:*:*:*:windows:*:*
>= 0.60.0, < 0.159.2 0.159.2
OSV Go github.com/gohugoio/hugo >= 0.60.0, < 0.159.2 0.159.2

References

History

  • 25 Nov 2026 21:02 UTC · NVD: first stored (published 6 Apr 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 7 Jul 2026)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 3 Apr 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.