- Veröffentlicht
- 24.08.2026 12:29
- Zuletzt geändert
- 17.10.2026
- EPSS (30 Tage)
- 0.3 %
- CVSS-Vektor
- CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
Beschreibung
Originaltext der Quelle, nicht übersetzt.
Hugo's default fenced-code-block renderer writes attribute values taken from the code-fence info string into the rendered HTML without escaping them. New in markup/internal/attributes/attributes.go converts every attribute value from a byte slice to a string as it is stored, deliberately dropping the escaping that used to happen there, and RenderAttributes in the same file escapes only values that are still byte slices, so its escaping branch is never reached and every value is written verbatim. The function's documentation states that it performs HTML escaping of string attributes, which it does not. A quote inside an attribute value in the info string therefore terminates the attribute and allows a further attribute, including an event handler, to be placed on the wrapper element, and the script runs for every visitor who loads the page. This path is reached under the default configuration, with code fences enabled and without goldmark's unsafe setting or any custom render hook. Attribute names beginning with on are filtered when the attributes are parsed, so injection is achieved through the value rather than the name.
Status beim Hersteller
Red Hat stuft seine Produktlinien ein: 3 betroffen, 1 behoben, 1 nicht betroffen.
Red Hat Enterprise Linux 10
BetroffenFix zurückgestellt
grafana
Red Hat OpenShift GitOps
BetroffenFix zurückgestellt
openshift-gitops-1/argocd-rhel8, openshift-gitops-1/argocd-rhel9
Red Hat OpenStack Platform 18.0
BetroffenFix zurückgestellt
rhoso-operators/openstack-operator-bundle
Nicht betroffen (1)
Red Hat Hardened ImagesNicht betroffenKomponente nicht enthaltengrafana12.4, grafana13.1, grafana13.2
Betroffene Pakete im beobachteten Stack
Red Hat:enterprise_linux:10grafanakein Fix bekanntCVE-2026-10618
Red Hat:hummingbird:1hugo0:0.166.0-0.1.hum1CVE-2026-10618
Red Hat:hummingbird:1hugo0:0.166.0-0.1.hum1RHSA-2026:66266 (über RHSA-2026:66266)
Weitere betroffene Pakete (12)
CVEgohugoio/hugokein Fix bekanntCVE-2026-10618
Debian:12hugokein Fix bekanntDEBIAN-CVE-2026-10618
Debian:13hugokein Fix bekanntDEBIAN-CVE-2026-10618
Debian:14hugo0.166.0-1DEBIAN-CVE-2026-10618
NVDgohugo:hugo0.93.0 → 0.165.0CVE-2026-10618
Ubuntu:16.04:LTShugokein Fix bekanntUBUNTU-CVE-2026-10618
Ubuntu:18.04:LTShugokein Fix bekanntUBUNTU-CVE-2026-10618
Ubuntu:20.04:LTShugokein Fix bekanntUBUNTU-CVE-2026-10618
Ubuntu:22.04:LTShugokein Fix bekanntUBUNTU-CVE-2026-10618
Ubuntu:26.04:LTShugokein Fix bekanntUBUNTU-CVE-2026-10618
Ubuntu:26.10hugokein Fix bekanntUBUNTU-CVE-2026-10618
Ubuntu:Pro:24.04:LTShugokein Fix bekanntUBUNTU-CVE-2026-10618
Empfohlene Prüfung
- Feststellen, ob und in welcher Version die betroffenen Pakete in Ihren Systemen, Images und Abhängigkeiten vorkommen.
- Wo eine Fix-Version genannt ist: aktualisieren. Wo nicht: Hersteller-Advisory und Referenzen auf Workarounds prüfen.
- Erreichbarkeit beachten: Der Angriffsweg (Netzwerk · mit Login · Nutzerinteraktion) ist aus dem CVSS-Vektor abgeleitet.
Diese Seite sagt nichts darüber, ob Ihre Systeme betroffen sind. Das klärt erst eine Prüfung Ihrer Versionen.
Referenzen
- github.com/gohugoio/hugo
- github.com/gohugoio/hugo/blob/v0.165.0/markup/internal/attributes/attributes.go
- github.com/gohugoio/hugo/blob/v0.165.0/markup/goldmark/codeblocks/render.go
- github.com/gohugoio/hugo/blob/v0.165.0/markup/highlight/highlight.go
- www.vulncheck.com/advisories/hugo-through-stored-cross-site-scripting-via-unescaped-code-fence-attribute-values
- security-tracker.debian.org/tracker/CVE-2026-10618
- ubuntu.com/security/CVE-2026-10618
- www.cve.org/CVERecord
- security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-10618.json
- access.redhat.com/security/cve/CVE-2026-10618
- bugzilla.redhat.com/show_bug.cgi
- nvd.nist.gov/vuln/detail/CVE-2026-10618