MTIby Motiontic
Colour theme
VulnerabilityCVE-2026-140394

Hugo 0.140.2 before 0.170.0 Stored XSS via highlight shortcode wrapperClass

Not on CISA KEVCVSS 5.4 (v3.1)
  • Overview

Summary

Hugo after 0.140.2 and before 0.170.0 contains a stored cross-site scripting vulnerability in the highlight shortcode and transform.Highlight template function, which write the wrapperClass option unescaped into the wrapping div's class attribute. Content authors can supply a wrapperClass value

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

  • CISA Vulnrichment Source: CISA Vulnrichment
  • CVE List Source: CVE Program (cve.org)
  • NVD This product uses the NVD API but is not endorsed or certified by the NVD.