CVE-2026-35166 json
Hugo does not properly escape some Markdown links
published 7mo ago modified 16d ago also EUVD-2026-19414 , GHSA-mcv8-8m8x-48pg , GO-2026-5504 , JLSEC-2026-792
- cvss
- 5.4
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 8%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go github.com/gohugoio/hugo 0.159.2
- julia Hugo_jll 0.163.3+0
- gohugo hugo 0.159.2
- hugo Debian 14 0.159.2-1
debian advisories DEBIAN-CVE-2026-35166
- hugo hummingbird 1 0.160.1-2.hum1
red hat advisories RHSA-2026:7848
- govulncheck-vulndb openSUSE Leap 16.0 0.0.20260723T184607-160000.1.1
opensuse advisories openSUSE-SU-2026:21483-1
Is CVE-2026-35166 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2026-35166 updated cvss 4.6
hugo: github.com/gohugoio/hugo: Hugo: Information disclosure and content manipulation via improper markdown link escaping
-
Red Hat Build of Kueue kueue/kueue-rhel9, kueue/kueue-rhel9-operator, kueue/kueue-operator-bundle, kueue/kueue-must-gather-rhel9 Red Hat OpenShift GitOps openshift-gitops-1/argocd-rhel8, openshift-gitops-1/argocd-rhel9 Red Hat OpenStack Platform 18.0 rhoso-operators/openstack-operator-bundleaffected: workaround, no fix available “Fix deferred”
-
Red Hat Hardened Images hugo 0.160.1-2.hum1fixed: vendor fix RHSA-2026:7848
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 7mo ago
Exploit prediction
0.19% chance of exploitation in the next 30 days, higher than 8% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 4.0 | 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 |
| CNA | 4.0 | 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 |
| NVD | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| OSV | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/gohugoio/hugo | >=0.60.0, <0.159.2 |
0.159.2 |
| julia | Hugo_jll | <0.163.3+0 |
0.163.3+0 |
Affected products
- gohugoio hugo
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/gohugoio/hugo/commit/479fe6c654937a850b65e74551dc4e857d52898f
web, patch
-
github.com
/gohugoio/hugo/security/advisories/GHSA-mcv8-8m8x-48pg
web, vendor-advisory, advisory
-
nvd.nist.gov
/vuln/detail/CVE-2026-35166
advisory, web
-
github.com
/gohugoio/hugo
package
-
github.com
/advisories/GHSA-mcv8-8m8x-48pg
web
Sources
- CVE List CVE-2026-35166
- GitHub Advisory GHSA-mcv8-8m8x-48pg
- NVD CVE-2026-35166
- OSV GO-2026-5504
- OSV JLSEC-2026-792
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.