| { |
| "schema_version": "1.3.1", |
| "id": "GO-2026-5569", |
| "modified": "0001-01-01T00:00:00Z", |
| "published": "0001-01-01T00:00:00Z", |
| "aliases": [ |
| "GHSA-q76j-gcg9-vxc6" |
| ], |
| "summary": "Hugo: XSS via unescaped code-fence language in default code block renderer in github.com/gohugoio/hugo", |
| "details": "Hugo: XSS via unescaped code-fence language in default code block renderer in github.com/gohugoio/hugo", |
| "affected": [ |
| { |
| "package": { |
| "name": "github.com/gohugoio/hugo", |
| "ecosystem": "Go" |
| }, |
| "ranges": [ |
| { |
| "type": "SEMVER", |
| "events": [ |
| { |
| "introduced": "0.60.0" |
| }, |
| { |
| "fixed": "0.163.3" |
| } |
| ] |
| } |
| ], |
| "ecosystem_specific": { |
| "imports": [ |
| { |
| "path": "github.com/gohugoio/hugo/markup/highlight", |
| "symbols": [ |
| "WritePreStart", |
| "chromaHighlighter.Highlight", |
| "chromaHighlighter.HighlightCodeBlock", |
| "chromaHighlighter.RenderCodeblock", |
| "preWrapper.Start" |
| ] |
| } |
| ] |
| } |
| } |
| ], |
| "references": [ |
| { |
| "type": "ADVISORY", |
| "url": "https://github.com/gohugoio/hugo/security/advisories/GHSA-q76j-gcg9-vxc6" |
| }, |
| { |
| "type": "FIX", |
| "url": "https://github.com/gohugoio/hugo/commit/ce1a7e0bce3713af40496ded3c2c0ceeed49231d" |
| } |
| ], |
| "database_specific": { |
| "url": "https://pkg.go.dev/vuln/GO-2026-5569", |
| "review_status": "REVIEWED" |
| } |
| } |