{"cve":"CVE-2026-35166","nvd":{"published":"2026-04-06T18:16:43.060","modified":"2026-10-24T13:10:00.147","status":"Analyzed","description":"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.","cvss_v4":{"vector":"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","score":5.3},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N","score":5.4},"cwes":["CWE-79"],"references":["https://github.com/gohugoio/hugo/security/advisories/GHSA-mcv8-8m8x-48pg"],"products":["gohugo:hugo"],"source":"nvd","synced_at":"2026-10-24T16:53:27.712498749+00:00"},"epss":{"cve":"CVE-2026-35166","score":0.00185,"percentile":0.08036,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-mcv8-8m8x-48pg","url":"https://osv.dev/vulnerability/GHSA-mcv8-8m8x-48pg","summary":"Hugo: Certain markdown links are not properly escaped","modified":"2026-07-07T20:41:32.389108085Z","packages":[{"ecosystem":"Go","name":"github.com/gohugoio/hugo","purl":"pkg:golang/github.com/gohugoio/hugo","ranges":[">=0.60.0 <0.159.2"],"fixed":["0.159.2"]}]},{"id":"GO-2026-5504","url":"https://osv.dev/vulnerability/GO-2026-5504","summary":"Hugo: Certain markdown links are not properly escaped in github.com/gohugoio/hugo","modified":"2026-07-07T20:30:13.645835915Z","packages":[{"ecosystem":"Go","name":"github.com/gohugoio/hugo","purl":"pkg:golang/github.com/gohugoio/hugo","ranges":[">=0.60.0 <0.159.2"],"fixed":["0.159.2"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}