CVE-2026-5160 | yuin goldmark up to 1.7.16 URL Validation cross site scripting
VulDBArchived Apr 15, 2026✓ Full text saved
A vulnerability labeled as problematic has been found in yuin goldmark up to 1.7.16 . This vulnerability affects unknown code of the component URL Validation Handler . Such manipulation leads to cross site scripting. This vulnerability is listed as CVE-2026-5160 . The attack may be performed from remote. There is no available exploit. The affected component should be upgraded.
Full text archived locally
✦ AI Summary· Claude Sonnet
VDB-357669 · CVE-2026-5160 · GCVE-0-2026-5160
YUIN GOLDMARK UP TO 1.7.16 URL VALIDATION CROSS SITE SCRIPTING
HISTORYDIFFRELATEJSONXMLCTI
CVSS Meta Temp Score Current Exploit Price (≈) CTI Interest Score
5.1 $0-$5k 2.26+
Summaryinfo
A vulnerability marked as problematic has been reported in yuin goldmark up to 1.7.16. This issue affects some unknown processing of the component URL Validation Handler. Performing a manipulation results in cross site scripting. This vulnerability is cataloged as CVE-2026-5160. It is possible to initiate the attack remotely. There is no exploit available. It is suggested to upgrade the affected component.
Detailsinfo
A vulnerability classified as problematic has been found in yuin goldmark up to 1.7.16. This affects an unknown code of the component URL Validation Handler. The manipulation with an unknown input leads to a cross site scripting vulnerability. CWE is classifying the issue as 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. This is going to have an impact on integrity. The summary by CVE is:
Versions of the package github.com/yuin/goldmark/renderer/html before 1.7.17 are vulnerable to Cross-site Scripting (XSS) due to improper ordering of URL validation and normalization. The renderer validates link destinations using a prefix-based check (IsDangerousURL) before resolving HTML entities. This allows an attacker to bypass protocol filtering by encoding dangerous schemes using HTML5 named character references. For example, a payload such as javascript:alert(1) is not recognized as dangerous during validation, leading to arbitrary script execution in the context of applications that render the URL.
The advisory is shared at security.snyk.io. This vulnerability is uniquely identified as CVE-2026-5160 since 03/30/2026. The exploitability is told to be easy. It is possible to initiate the attack remotely. No form of authentication is needed for exploitation. 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 1.7.17 eliminates this vulnerability.
Productinfo
Vendor
yuin
Name
goldmark
Version
1.7.0
1.7.1
1.7.2
1.7.3
1.7.4
1.7.5
1.7.6
1.7.7
1.7.8
1.7.9
1.7.10
1.7.11
1.7.12
1.7.13
1.7.14
1.7.15
1.7.16
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: 5.2
VulDB Meta Temp Score: 5.1
VulDB Base Score: 4.3
VulDB Temp Score: 4.1
VulDB Vector: 🔒
VulDB Reliability: 🔍
CNA Base Score: 6.1
CNA Vector (snyk): 🔒
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: goldmark 1.7.17
Timelineinfo
03/30/2026 CVE reserved
04/15/2026 +16 days Advisory disclosed
04/15/2026 +0 days VulDB entry created
04/15/2026 +0 days VulDB entry last update
Sourcesinfo
Advisory: SNYK-GOLANG-GITHUBCOMYUINGOLDMARKRENDERERHTML-15838406
Status: Confirmed
CVE: CVE-2026-5160 (🔒)
GCVE (CVE): GCVE-0-2026-5160
GCVE (VulDB): GCVE-100-357669
Entryinfo
Created: 04/15/2026 07:51
Changes: 04/15/2026 07:51 (77)
Complete: 🔍
Cache ID: 99:0EF:101
Discussion
No comments yet. Languages: en.
Please log in to comment.
◂ PreviousOverviewNext ▸