CVE-2026-10618
CVE-2026-10618 · Hugo 0.93.0 through 0.165.0 Stored Cross-Site Scripting via Unescaped Code-Fence Attribute Values
CVSS 4.8 · Mittel · EPSS 0,2% · Korrektur verfügbar
Vergleichen Sie mit Ihrer installierten Version
Betroffene Produkte und bekannte korrigierte Versionen sind öffentlich. Vergleichen Sie diese mit Ihrer installierten Version.
- hugoKeine Korrektur veröffentlicht
- hugo Debian 12Keine Korrektur veröffentlicht
- hugo Debian 13Keine Korrektur veröffentlicht
- hugo Debian 14Auf 0.166.0-1 aktualisieren
- und 7 weitere
Installierte Version prüfen:
dpkg-query -W -f='${source:Package} ${binary:Package} ${Version}\n' | awk '$1=="hugo"'Bewerten Sie die Risiken Ihres Servers
Die kostenlose Prüfung liefert ohne Registrierung eine Bewertung und eine Risikoübersicht nach Technologie-Stacks. Sie beantwortet nicht, ob diese einzelne Schwachstelle Sie betrifft.
Die Überwachung gleicht öffentliche Informationen mit der Software Ihrer Server ab. Sie erhalten detaillierte Funde und eine Reihenfolge für Updates.
curl -fsSL https://patchfirst.dev/check.sh | shKanäle bieten allgemeine Nachrichten zu Technologien; neue Funde auf Ihren Servern meldet die Überwachung im Dashboard, per Browser-Benachrichtigung, in Telegram oder über einen Webhook.
Diese Seite enthält Fakten aus öffentlichen Sicherheitsquellen. Lesen Sie vor dem Aktualisieren die Originalmeldung.
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.
- Veröffentlicht
- Aktualisiert
Korrekturen in Distributionen
- RHSA-2026:66266 · Red Hat hummingbird 1 ·
Technologie-Stack: system
Betroffene Produkte und Versionen
hugo
- Softwareversionen
- ≥ 0.93.0, ≤ 0.165.0: Betroffen (semver)
Keine Korrektur veröffentlicht
hugo Debian 12
- Softwareversionen
- 0.111.3-1
- 0.112.7-1
- 0.113.0-1
- 0.113.0-2
- 0.113.0-3
- 0.114.1-1
Alle Versionen (99)
- 0.114.1-2
- 0.115.4-1
- 0.116.1-1
- 0.117.0-1
- 0.118.2-1
- 0.119.0-1
- 0.119.0-2
- 0.120.3-1
- 0.120.4-1
- 0.121.1-1
- 0.121.2-1
- 0.122.0-1
- 0.123.3-1
- 0.123.7-1
- 0.123.8-1
- 0.123.8-2
- 0.124.1-1
- 0.125.4-1
- 0.125.5-1
- 0.125.6-1
- 0.125.7-1
- 0.126.1-1
- 0.126.2-1
- 0.126.3-1
- 0.127.0-1
- 0.128.2-1
- 0.128.2-2
- 0.129.0-1
- 0.129.0-2
- 0.130.0-1
- 0.130.0-2
- 0.131.0-1
- 0.131.0-2
- 0.150.0-1
- 0.150.1-1
- 0.151.0-1
- 0.151.1-1
- 0.151.2-1
- 0.152.1-1
- 0.152.2-1
- 0.153.0-1
- 0.153.1-1
- 0.153.1-2
- 0.153.1-3
- 0.153.2-1
- 0.154.1-1
- 0.154.2-1
- 0.154.2-2
- 0.154.3-1
- 0.154.5-1
- 0.155.1-1
- 0.155.2-1
- 0.155.3-1
- 0.157.0-1
- 0.157.0-2
- 0.157.0-3
- 0.158.0-1
- 0.158.0-2
- 0.158.0-3
- 0.159.0-1
- 0.159.1-1
- 0.159.2-1
- 0.160.0-1
- 0.160.0-2
- 0.160.1-1
- 0.161.0-1
- 0.161.1-1
- 0.162.1-1
- 0.162.1-2
- 0.162.1-3
- 0.162.1-4
- 0.162.1-5
- 0.162.1-6
- 0.162.1-7
- 0.165.0-1
- 0.165.0-2
- 0.165.0-3
- 0.166.0-1
- 0.166.0-2
- 0.167.0-1
- 0.167.0-2
- 0.167.0-3
- 0.167.0-4
- 0.167.0-5
- 0.167.0-6
- 0.167.0-7
- 0.168.0-1
- 0.168.0-2
- 0.168.0-3
- 0.169.0-1
- 0.169.0-2
- 0.170.1-1
- 0.170.1-2
- Betroffene Versionsbereiche
- ECOSYSTEM: (−∞, +∞)
Keine Korrektur veröffentlicht
hugo Debian 13
- Softwareversionen
- 0.131.0-1
- 0.131.0-2
- 0.150.0-1
- 0.150.1-1
- 0.151.0-1
- 0.151.1-1
Alle Versionen (62)
- 0.151.2-1
- 0.152.1-1
- 0.152.2-1
- 0.153.0-1
- 0.153.1-1
- 0.153.1-2
- 0.153.1-3
- 0.153.2-1
- 0.154.1-1
- 0.154.2-1
- 0.154.2-2
- 0.154.3-1
- 0.154.5-1
- 0.155.1-1
- 0.155.2-1
- 0.155.3-1
- 0.157.0-1
- 0.157.0-2
- 0.157.0-3
- 0.158.0-1
- 0.158.0-2
- 0.158.0-3
- 0.159.0-1
- 0.159.1-1
- 0.159.2-1
- 0.160.0-1
- 0.160.0-2
- 0.160.1-1
- 0.161.0-1
- 0.161.1-1
- 0.162.1-1
- 0.162.1-2
- 0.162.1-3
- 0.162.1-4
- 0.162.1-5
- 0.162.1-6
- 0.162.1-7
- 0.165.0-1
- 0.165.0-2
- 0.165.0-3
- 0.166.0-1
- 0.166.0-2
- 0.167.0-1
- 0.167.0-2
- 0.167.0-3
- 0.167.0-4
- 0.167.0-5
- 0.167.0-6
- 0.167.0-7
- 0.168.0-1
- 0.168.0-2
- 0.168.0-3
- 0.169.0-1
- 0.169.0-2
- 0.170.1-1
- 0.170.1-2
- Betroffene Versionsbereiche
- ECOSYSTEM: (−∞, +∞)
Keine Korrektur veröffentlicht
hugo Debian 14
- Softwareversionen
- 0.131.0-1
- 0.131.0-2
- 0.150.0-1
- 0.150.1-1
- 0.151.0-1
- 0.151.1-1
Alle Versionen (46)
- 0.151.2-1
- 0.152.1-1
- 0.152.2-1
- 0.153.0-1
- 0.153.1-1
- 0.153.1-2
- 0.153.1-3
- 0.153.2-1
- 0.154.1-1
- 0.154.2-1
- 0.154.2-2
- 0.154.3-1
- 0.154.5-1
- 0.155.1-1
- 0.155.2-1
- 0.155.3-1
- 0.157.0-1
- 0.157.0-2
- 0.157.0-3
- 0.158.0-1
- 0.158.0-2
- 0.158.0-3
- 0.159.0-1
- 0.159.1-1
- 0.159.2-1
- 0.160.0-1
- 0.160.0-2
- 0.160.1-1
- 0.161.0-1
- 0.161.1-1
- 0.162.1-1
- 0.162.1-2
- 0.162.1-3
- 0.162.1-4
- 0.162.1-5
- 0.162.1-6
- 0.162.1-7
- 0.165.0-1
- 0.165.0-2
- 0.165.0-3
- Betroffene Versionsbereiche
- ECOSYSTEM: < 0.166.0-1
Auf 0.166.0-1 aktualisieren
hugo Ubuntu 16.04 LTS
- Softwareversionen
- 0.15+git20160109.147.dd1d655-1
- 0.15+git20160109.147.dd1d655-2
- 0.15+git20160128.179.5def6d9-1
- 0.15+git20160206.203.ed23711-1
- Betroffene Versionsbereiche
- ECOSYSTEM: (−∞, +∞)
Keine Korrektur veröffentlicht
hugo Ubuntu 18.04 LTS
- Softwareversionen
- 0.25.1-2
- 0.26-1
- 0.35-1
- 0.37.1-1
- 0.38-1
- 0.39-1
Alle Versionen (8)
- 0.40-1
- 0.40.1-1
- Betroffene Versionsbereiche
- ECOSYSTEM: (−∞, +∞)
Keine Korrektur veröffentlicht
hugo Ubuntu 20.04 LTS
- Softwareversionen
- 0.57.2-1
- 0.58.3-1
- 0.59.1-1.1
- 0.68.3-1
- Betroffene Versionsbereiche
- ECOSYSTEM: (−∞, +∞)
Keine Korrektur veröffentlicht
hugo Ubuntu 22.04 LTS
- Softwareversionen
- 0.80.0-6
- 0.89.4-2
- 0.90.0-1
- 0.90.1-1
- 0.91.0-1
- 0.91.2-1
Alle Versionen (10)
- 0.92.0-1
- 0.92.1-1build1
- 0.92.2-1
- 0.92.2-1ubuntu0.1
- Betroffene Versionsbereiche
- ECOSYSTEM: (−∞, +∞)
Keine Korrektur veröffentlicht
hugo Ubuntu Pro 24.04 LTS
- Softwareversionen
- 0.113.0-3
- 0.119.0-2
- 0.120.3-1
- 0.120.4-1
- 0.121.2-1
- 0.122.0-1
Alle Versionen (13)
- 0.123.7-1build1
- 0.123.7-1ubuntu0.1
- 0.123.7-1ubuntu0.2
- 0.123.7-1ubuntu0.2+esm1
- 0.123.7-1ubuntu0.3
- 0.123.7-1ubuntu0.3+esm1
- 0.123.7-1ubuntu0.3+esm2
- Betroffene Versionsbereiche
- ECOSYSTEM: (−∞, +∞)
Keine Korrektur veröffentlicht
hugo Ubuntu 26.10
- Softwareversionen
- 0.154.5-1
- 0.162.1-5
- 0.162.1-7
- Betroffene Versionsbereiche
- ECOSYSTEM: (−∞, +∞)
Keine Korrektur veröffentlicht
hugo Ubuntu 26.04 LTS
- Softwareversionen
- 0.131.0-1
- 0.152.2-1
- 0.153.1-3
- 0.153.2-1
- 0.154.2-2
- 0.154.3-1
Alle Versionen (7)
- 0.154.5-1
- Betroffene Versionsbereiche
- ECOSYSTEM: (−∞, +∞)
Keine Korrektur veröffentlicht
Originalquellen
- https://github.com/gohugoio/hugo
- https://github.com/gohugoio/hugo/blob/v0.165.0/markup/internal/attributes/attributes.go
- https://github.com/gohugoio/hugo/blob/v0.165.0/markup/goldmark/codeblocks/render.go
- https://github.com/gohugoio/hugo/blob/v0.165.0/markup/highlight/highlight.go
- https://www.vulncheck.com/advisories/hugo-through-stored-cross-site-scripting-via-unescaped-code-fence-attribute-values
- https://nvd.nist.gov/vuln/detail/CVE-2026-10618