{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2026-58402","published":"2026-07-06T20:16:38.040000Z","last_modified":"2026-10-25T20:10:00.147000Z","status":"Analyzed","cvss":{"version":"4.0","score":5.1,"severity":"MEDIUM","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/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","source":"security-advisories@github.com","primary":false},"auth":true,"cwes":["CWE-79"],"cpes":[{"criteria":"cpe:2.3:a:gohugo:hugo:*:*:*:*:*:*:*:*","part":"a","vendor":"gohugo","product":"hugo","version_start_including":"0.60.0","version_end_excluding":"0.163.3"}],"cpes_truncated":false,"vendors":["gohugo"],"products":["gohugo/hugo"],"ssvc":{"exploitation":"none","automatable":"no","technical_impact":"partial"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-q76j-gcg9-vxc6","ecosystem":"Go","name":"github.com/gohugoio/hugo","purl":"pkg:golang/github.com/gohugoio/hugo","ranges":[{"introduced":"0.60.0","fixed":"0.163.3"}],"versions":[],"versions_truncated":false},{"advisory":"GO-2026-5569","ecosystem":"Go","name":"github.com/gohugoio/hugo","purl":"pkg:golang/github.com/gohugoio/hugo","ranges":[{"introduced":"0.60.0","fixed":"0.163.3"}],"versions":[],"versions_truncated":false}],"severity":"medium","priority_score":31,"links":{"html_es":"/es/cve/CVE-2026-58402/","html_en":"/en/cve/CVE-2026-58402/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-58402","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-58402"},"untrusted":{"vendor_name":"Gohugo","product_name":"Hugo","desc_en":"Hugo is a static site generator. From 0.60.0 until 0.163.3, Hugo's default code-block renderer wrote the Markdown code-fence language or info-string into the code class=\"language-…\" data-lang=\"…\" wrapper without HTML escaping. A fence info-string containing a quote and a script payload breaks out of the attribute and injects a live script element. This issue is fixed in 0.163.3.","affected":[{"untrusted_vendor":"gohugoio","untrusted_product":"hugo","versions":[]}],"references":[{"url":"https://github.com/gohugoio/hugo/commit/ce1a7e0bce3713af40496ded3c2c0ceeed49231d","tags":["Patch"]},{"url":"https://github.com/gohugoio/hugo/pull/15051","tags":["Issue Tracking"]},{"url":"https://github.com/gohugoio/hugo/releases/tag/v0.163.3","tags":["Release Notes"]},{"url":"https://github.com/gohugoio/hugo/security/advisories/GHSA-q76j-gcg9-vxc6","tags":["Vendor Advisory"]}]},"bulletins":[{"source":"redhat","id":"RHSA-2026:36862","url":"https://access.redhat.com/errata/RHSA-2026:36862","published":"2026-07-29T10:09:26+00:00","severity":"medium","exploited":false,"untrusted":{"title":"Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update"}}]}