hugo-0.169.0-2.fc45
- hugo-0.169.0-2.fc45
Update to Hugo 0.169.0, which includes a security fix.
Menu pre and post values defined in front matter are no longer rendered as unescaped HTML. Because front matter is untrusted content, a content contributor could previously inject arbitrary HTML, including script, into pages that render menu entries. These values are now HTML escaped unless text/html is allowed in security.allowContent, and a warning-menu-pre-post-html-escaped warning is logged when markup is escaped. Menu entries defined in the site configuration are not affected.
This update also requires Go 1.27.0 and continues to build the extended edition with bundled LibSass, so the package does not depend on a system libsass.
Release notes: https://github.com/gohugoio/hugo/releases/tag/v0.169.0