DEBIAN-CVE-2026-100691

Source
https://security-tracker.debian.org/tracker/CVE-2026-100691
Import Source
https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-100691.json
JSON Data
https://api.osv.dev/v1/vulns/DEBIAN-CVE-2026-100691
Upstream
Published
2026-09-26T14:16:53Z
Modified
2026-09-27T05:00:06Z
Severity
  • 5.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N CVSS Calculator
Summary
[none]
Details

Hugo versions 0.75.0 through 0.165.x contain a stored cross-site scripting vulnerability: the syntax highlighter does not escape the lineAnchors option before passing it to Chroma, which writes the value verbatim into the id and href attributes of the generated line-number markup. A crafted lineAnchors value supplied as a Markdown code fence attribute (or passed to the highlight template function) results in unescaped HTML in the rendered page, allowing arbitrary JavaScript to execute in the browsers of visitors to the generated site. This affects sites that build and publish Markdown from untrusted contributors; Hugo's security model otherwise considers content trusted input. Fixed in 0.166.0, where the lineAnchors value is HTML-escaped before being passed to Chroma.

References

Affected packages

Debian:12 / hugo

Package

Name
hugo
Purl
pkg:deb/debian/hugo?arch=source&distro=bookworm

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

0.*
0.111.3-1
0.112.7-1
0.113.0-1
0.113.0-2
0.113.0-3
0.114.1-1
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

Ecosystem specific

{
    "urgency":  "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-100691.json"

Debian:13 / hugo

Package

Name
hugo
Purl
pkg:deb/debian/hugo?arch=source&distro=trixie

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

0.*
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

Ecosystem specific

{
    "urgency":  "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-100691.json"

Debian:14 / hugo

Package

Name
hugo
Purl
pkg:deb/debian/hugo?arch=source&distro=forky

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected

Affected versions

0.*
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

Ecosystem specific

{
    "urgency":  "not yet assigned"
}

Database specific

source
"https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-100691.json"