CVE Catalog

CVE-2026-109597

MediumCVSS 5.4
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.17%

6th percentile - higher than 6% of all known CVEs

Summary

Hugo from v0.60.0 before v0.167.0 contains a stored cross-site scripting vulnerability that allows Markdown content authors to inject HTML by supplying crafted explicit heading IDs. Attackers can break out of the unescaped href attribute in .TableOfContents or .Fragments.ToHTML output to inject elements with event handlers into rendered pages.

Risk Assessment

The risk is the potential execution of malicious scripts in the browser of users visiting the affected page, which could lead to session theft, account takeover, or spreading malicious content.

Recommendation

It is recommended to immediately upgrade Hugo to version 0.167.0 or later, which includes a fix for the XSS vulnerability.

Other vulnerabilities in Hugo

See all
Original NVD description (English source)

Hugo from v0.60.0 before v0.167.0 contains a stored cross-site scripting vulnerability that allows Markdown content authors to inject HTML by supplying crafted explicit heading IDs. Attackers can break out of the unescaped href attribute in .TableOfContents or .Fragments.ToHTML output to inject elements with event handlers into rendered pages.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS