{"id":"CVE-2026-35166","published":"2026-04-06T17:37:05Z","modified":"2026-04-06T18:02:37Z","title":"Hugo does not properly escape some Markdown links","vendor":"gohugoio","product":"hugo","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00192,"percentile":0.09085,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/gohugoio/hugo/security/advisories/GHSA-mcv8-8m8x-48pg","tags":["x_refsource_CONFIRM"]}],"priority":{"score":5.5,"factors":[{"name":"EPSS percentile","points":1.82},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"gohugoio","affectedVersions":[{"vendor":"gohugoio","product":"hugo","versions":[">= 0.60.0, < 0.159.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-04-06T18:02:26.136376Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/gohugoio/hugo","vulnerableRanges":[">=0.60.0, <0.159.2"],"patched":["0.159.2"],"from":["GHSA-mcv8-8m8x-48pg","GO-2026-5504"],"provenance":"source"}],"summary":{"text":"Hugo, the static site generator, does not properly escape links and image links produced by its default Markdown-to-HTML renderer in versions from 0.60.0 up to (but not including) 0.159.2. An attacker who can supply Markdown content to a site built with an affected Hugo version can inject script into the generated pages, but only if the victim interacts with the content (for example by clicking a crafted link) and the site's Markdown is untrusted and no custom render hooks for links and images are in place.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:19:47Z"},"euvd":{"id":"EUVD-2026-19414","exploited":false,"provenance":"source"}}