CVE catalog

CVE-2026-35166

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

[CVE catalog]

Severity
Medium · CVSS 5.3CVSS: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
Published
Source
[NVD] · [CVE record]
EPSS
0.18% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianhugosid0.168.0-3fixed
Debianhugoforky0.167.0-7fixed
Debianhugotrixie0.131.0-1vulnerable
Debianhugobookworm0.111.3-1vulnerable
CpehugoNot reportedNot reportedvulnerable
CpehugoNot reported0.159.2fixed
Gogithub.com/gohugoio/hugoNot reported0.159.2fixed
CpehugoNot reported0.159.2fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianhugosourcesid0.159.2-1not yet assignedNot reportedNot reported
Debianhugosourceforky0.159.2-1not yet assignedNot reportedNot reported
Debianhugosourcetrixie(unfixed)not yet assignedNot reportedNot reported
Debianhugosourcebookworm(unfixed)not yet assignedNot reportedNot reported
CpehugocpeNot reported0.159.2Not reportedNot reportedNot reported
Gogithub.com/gohugoio/hugoGoNot reported0.159.2Not reportedNot reportedNot reported
CpehugocpeNot reported0.159.2Not reportedNVD-CVE-2026-35166Not reported

Notes

[trixie] hugo: Minor issue [bookworm] hugo: Minor issue

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [hugo]Affected
    Details (2)
    • 0.111.3-1 · amd64 · bookworm

      Affected

      nvd · hugo · debian · bookworm; nvd · hugo · debian · 12

    • 0.111.3-1 · arm64 · bookworm

      Affected

      nvd · hugo · debian · bookworm; nvd · hugo · debian · 12

[Debian 13 (Trixie)]

  • [hugo]Affected
    Details (2)
    • 0.131.0-1 · amd64 · trixie

      Affected

      nvd · hugo · debian · 13

    • 0.131.0-1 · arm64 · trixie

      Affected

      nvd · hugo · debian · 13

Observed:

References