Description (CNA)
Hugo from v0.60.0 before v0.167.0 contains a stored cross-site scripting vulnerability that allows Markdown content authors to inject HTML by supplying crafted explicit heading IDs. Attackers can break out of the unescaped href attribute in .TableOfContents or .Fragments.ToHTML output to inject elements with event handlers into rendered pages.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| gohugoio / hugo | affected 0.60.0 before 0.167.0; unaffected 0.167.0 |
CWE
CWE-79
References
- https://github.com/gohugoio/hugo/security/advisories/GHSA-wcpj-vcvm-j4pg
- https://www.vulncheck.com/advisories/hugo-0.60.0-before-0.167.0-stored-xss-via-table-of-contents-heading-ids
ADP enrichment
No English description supplied.
No references supplied.