2 matches found
CVE-2026-140394 Hugo 0.140.2 before 0.170.0 Stored XSS via highlight shortcode wrapperClass
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...
5.4CVSS
SaveExploits0References2
CVE-2026-140394
Hugo versions 0.140.2 through 0.170.0 are vulnerable to a stored cross-site scripting (XSS) flaw. The issue exists in the highlight shortcode and transform.Highlight template function, where the wrapperClass option is written unescaped into the wrapping div's class attribute. This allows content ...
5.4CVSS5.6AI score
SaveExploits0References2
20