CVSS 4.0
4.8 mediumCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:L/VI:L/VA:N/SC:L/SI:L/SA:NMedium (4.8) in gohugo hugo. EPSS 0.3% estimated probability of exploitation activity in the next 30 days.
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:L/VI:L/VA:N/SC:L/SI:L/SA:NCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:NExplain CVE-2026-10618 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-10618?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-10618?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-10618 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the CNA's record in the CVE List.
| Product | Affected |
|---|---|
| gohugoio hugo | from 0.93.0 through 0.165.0 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12, 13 | hugo | no fix listed | DEBIAN-CVE-2026-10618 |
| Debian | 14 | hugo | 0.166.0-1 | DEBIAN-CVE-2026-10618 |
| Ubuntu | 16.04:LTS, 18.04:LTS, 20.04:LTS and 4 more | hugo | no fix listed | UBUNTU-CVE-2026-10618 |
| Red Hat | hummingbird:1 | hugo | 0:0.166.0-0.1.hum1 | RHSA-2026:66266 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat.
Red Hat rates this Moderate.
A flaw was found in Hugo. The default fenced-code-block renderer writes attribute values from the code-fence info string into HTML without escaping them. A crafted quote character inside an attribute value terminates the attribute in the rendered HTML, allowing injection of additional attributes including event handlers. The injected script executes for every visitor who loads the page. This is exploitable under the default Hugo configuration with code fences enabled, without requiring the goldmark unsafe setting or any custom render hook. Note that attribute names beginning with 'on' are filtered during parsing, but injection is achieved through the attribute value rather than the name.
Update to a fixed version of Hugo. As a workaround, disable code-fence attribute support in the goldmark configuration by setting markup.highlight.codeFences to false, or use a custom render hook that explicitly escapes attribute values before writing them to HTML output.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Hardened Images | hugo-main-0.166.0-0.1.hum1 | Fixed 2026-09-09 | RHSA-2026:66266 |
| Red Hat Enterprise Linux 10 | grafana | Fix deferred | |
| Red Hat Hardened Images | grafana12.4 | Not affected | |
| Red Hat Hardened Images | grafana13.1 | Not affected | |
| Red Hat Hardened Images | grafana13.2 | Not affected | |
| Red Hat OpenShift GitOps | openshift-gitops-1/argocd-rhel8 | Fix deferred | |
| Red Hat OpenShift GitOps | openshift-gitops-1/argocd-rhel9 | Fix deferred | |
| Red Hat OpenStack Platform 18.0 | rhoso-operators/openstack-operator-bundle | Fix deferred |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-10618.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.