The Hugo static site generator's built-in highlight shortcode has a stored cross-site scripting (XSS) vulnerability due to improper handling of the wrapperClass option. This option is written unescaped into a div's class attribute, allowing malicious content authors to inject arbitrary HTML or JavaScript. The vulnerability affects versions from 0.140.2 up to but not including 0.170.0 and is fixed in version 0.170.0.