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.
CVE-2026-100691
Score 5.4 from GitHub Security Advisory published 2026-09-26. A secondary CVSS source baseline 5.4; sources differ by 0.0.
- Lower severity and no public exploit yet
A fix is available — apply it.
- CVSS v3
- 5.4
- EG Score
- 5.4MEDIUMhigh confidence
- EG Risk
- 24EG Risk 24/100CISA SSVC
EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).
How it’s computedSeverity54% × 45%Exploitation0% × 40%Automatability0% × 15%CISA SSVC: Track at every mission impact level.Action: A fix is available. Apply it within your standard update timelines. - EPSS PROB
- 0.2%
- EPSS %ILE
- 5th
- KEV
- Not listed
CISA SSVCTrack at every mission impact level.
A fix is available. Apply it within your standard update timelines.
Exploitation none (CISA Vulnrichment) · Automatable no (CISA Vulnrichment) · Technical impact partial (CISA Vulnrichment). Mission impact is CISA's Mission & Well-being decision point, and only you can judge it: high means the affected system is essential to your organisation's mission, or its compromise could cause irreversible harm to people. CISA's decision table
Published
September 26, 2026
Last Modified
September 29, 2026
Advisory Details (2)
Auto-updated Sep 26, 2026Hugo before 0.166.0 Stored XSS via lineAnchors code block option | Advisories | VulnCheck
https://www.vulncheck.com/advisories/hugo-before-0.166.0-stored-xss-via-lineanchors-code-block-optionStored XSS via unescaped lineAnchors code block option · Advisory · gohugoio/hugo · GitHub
Affected: v0.166.0. The
https://github.com/gohugoio/hugo/security/advisories/GHSA-q4xf-287f-98r8Vendor Advisories for CVE-2026-100691(2)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Patch Availability(1)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| redhat | hugo-main-0.166.0-0.1.hum1 | 2026-09-09 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 28× in last 7d / 31× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-10-04 03:47 UTCEG score recompute
- 2026-10-04 03:47 UTCVendor advisory
- 2026-10-04 03:47 UTCGHSA enrichment
- 2026-10-03 14:25 UTCEPSS rescore
- 2026-10-03 01:55 UTCEG score recompute
- 2026-10-03 01:55 UTCVendor advisory
- 2026-10-03 01:55 UTCGHSA enrichment
- 2026-10-02 00:02 UTCEG score recompute
- 2026-10-02 00:02 UTCVendor advisory
- 2026-10-02 00:02 UTCGHSA enrichment
- 2026-10-01 19:49 UTCEPSS rescore
- 2026-09-30 21:17 UTCEG score recompute
- 2026-09-30 21:17 UTCVendor advisory
- 2026-09-30 21:16 UTCGHSA enrichment
- 2026-09-30 15:02 UTCEPSS rescore
- 2026-09-29 19:22 UTCEG score recompute
- 2026-09-29 19:22 UTCVendor advisory
- 2026-09-29 19:22 UTCGHSA enrichment
- 2026-09-29 15:20 UTCEPSS rescore
- 2026-09-28 18:21 UTCEG score recompute
- 2026-09-28 18:21 UTCGHSA enrichment
- 2026-09-28 18:05 UTCEG score recompute
- 2026-09-28 18:04 UTCGHSA enrichment
- 2026-09-28 16:58 UTCEG score recompute
- 2026-09-28 16:58 UTCGHSA enrichment
Show 6 moreShow fewer
- 2026-09-28 13:50 UTCEPSS rescore
- 2026-09-27 16:23 UTCEG score recompute
- 2026-09-27 16:23 UTCGHSA enrichment
- 2026-09-26 14:31 UTCEG score recompute
- 2026-09-26 13:35 UTCEG score recompute
- 2026-09-26 13:30 UTCMITRE cvelistV5first tracked
Related CVEs(same vendor + same CWE)
Same vendor
6 shownredhat:RHSA-2026:66266
Frequently asked(5)
What is CVE-2026-100691?
When was CVE-2026-100691 disclosed?
Is CVE-2026-100691 actively exploited?
What is the CVSS score of CVE-2026-100691?
How do I remediate CVE-2026-100691?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-100691
Is Your Infrastructure Affected by CVE-2026-100691?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.