CVE-2026-35166 | gohugoio hugo up to 0.159.1 Link cross site scripting (GHSA-mcv8-8m8x-48pg)
VulDBArchived Apr 06, 2026✓ Full text saved
A vulnerability was found in gohugoio hugo up to 0.159.1 and classified as problematic . This affects an unknown part of the component Link Handler . The manipulation results in cross site scripting. This vulnerability is reported as CVE-2026-35166 . The attack can be launched remotely. No exploit exists. It is suggested to upgrade the affected component.
Full text archived locally
✦ AI Summary· Claude Sonnet
VDB-355633 · CVE-2026-35166 · GHSA-MCV8-8M8X-48PG
GOHUGOIO HUGO UP TO 0.159.1 LINK CROSS SITE SCRIPTING
HISTORYDIFFRELATEJSONXMLCTI
CVSS Meta Temp Score Current Exploit Price (≈) CTI Interest Score
4.1 $0-$5k 0.71+
Summaryinfo
A vulnerability was found in gohugoio hugo up to 0.159.1. It has been classified as problematic. This vulnerability affects unknown code of the component Link Handler. This manipulation causes cross site scripting. This vulnerability appears as CVE-2026-35166. The attack may be initiated remotely. There is no available exploit. Upgrading the affected component is recommended.
Detailsinfo
A vulnerability was found in gohugoio hugo up to 0.159.1. It has been declared as problematic. Affected by this vulnerability is an unknown code block of the component Link Handler. The manipulation with an unknown input leads to a cross site scripting vulnerability. The CWE definition for the vulnerability is CWE-79. The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. As an impact it is known to affect integrity. The summary by CVE is:
Hugo is a static site generator. From 0.60.0 to before 0.159.2, links and image links in the default markdown to HTML renderer are not properly escaped. Hugo users who trust their Markdown content or have custom render hooks for links and images are not affected. This vulnerability is fixed in 0.159.2.
The advisory is shared at github.com. This vulnerability is known as CVE-2026-35166 since 04/01/2026. The exploitation appears to be easy. The attack can be launched remotely. The exploitation doesn't need any form of authentication. It demands that the victim is doing some kind of user interaction. Neither technical details nor an exploit are publicly available. MITRE ATT&CK project uses the attack technique T1059.007 for this issue.
Upgrading to version 0.159.2 eliminates this vulnerability.
Productinfo
Vendor
gohugoio
Name
hugo
Version
0.159.0
0.159.1
Website
Product: https://github.com/gohugoio/hugo/
CPE 2.3info
🔒
🔒
CPE 2.2info
🔒
🔒
CVSSv4info
VulDB Vector: 🔒
VulDB Reliability: 🔍
CNA CVSS-B Score: 🔒
CNA CVSS-BT Score: 🔒
CNA Vector: 🔒
CVSSv3info
VulDB Meta Base Score: 4.3
VulDB Meta Temp Score: 4.1
VulDB Base Score: 4.3
VulDB Temp Score: 4.1
VulDB Vector: 🔒
VulDB Reliability: 🔍
CVSSv2info
Vector Complexity Authentication Confidentiality Integrity Availability
Unlock Unlock Unlock Unlock Unlock Unlock
Unlock Unlock Unlock Unlock Unlock Unlock
Unlock Unlock Unlock Unlock Unlock Unlock
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploitinginfo
Class: Cross site scripting
CWE: CWE-79 / CWE-94 / CWE-74
CAPEC: 🔒
ATT&CK: 🔒
Physical: No
Local: No
Remote: Yes
Availability: 🔒
Status: Not defined
Price Prediction: 🔍
Current Price Estimation: 🔒
0-Day Unlock Unlock Unlock Unlock
Today Unlock Unlock Unlock Unlock
Threat Intelligenceinfo
Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍
Countermeasuresinfo
Recommended: Upgrade
Status: 🔍
0-Day Time: 🔒
Upgrade: hugo 0.159.2
Timelineinfo
04/01/2026 CVE reserved
04/06/2026 +5 days Advisory disclosed
04/06/2026 +0 days VulDB entry created
04/06/2026 +0 days VulDB entry last update
Sourcesinfo
Product: github.com
Advisory: GHSA-mcv8-8m8x-48pg
Status: Confirmed
CVE: CVE-2026-35166 (🔒)
GCVE (CVE): GCVE-0-2026-35166
GCVE (VulDB): GCVE-100-355633
Entryinfo
Created: 04/06/2026 21:23
Changes: 04/06/2026 21:23 (68)
Complete: 🔍
Cache ID: 99:205:101
Discussion
No comments yet. Languages: en.
Please log in to comment.
◂ PreviousOverviewNext ▸