A flaw was found in Hugo. An attacker with permissions to author Markdown content can exploit this stored cross-site scripting (XSS) vulnerability by supplying crafted heading identifiers. When Hugo generates a table of contents or heading fragments, the unescaped attributes allow arbitrary HTML and event handlers to be injected into rendered web pages. This issue may allow malicious scripts to run in the context of a visiting user's browser session.
Exploitability
AV:NAC:LPR:LUI:RScope
S:CImpact
C:LI:LA:N5.4/CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N