MTIby Motiontic
Colour theme
VulnerabilityCVE-2026-100691

Hugo before 0.166.0 Stored XSS via lineAnchors code block option

Not on CISA KEV
  • Overview

Summary

Hugo versions 0.75.0 through 0.165.x contain a stored cross-site scripting vulnerability: the syntax highlighter does not escape the `lineAnchors` option before passing it to Chroma, which writes the value verbatim into the `id` and `href` attributes of the generated line-number markup. A crafted

See the full record, free

  • Every source, score and reference in one place
  • Timeline and related records
  • Watch an entry and get an alert when it changes

Sources and credits

  • CVE List Source: CVE Program (cve.org)