Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft markdown with HTML-encoded dangerous protocol
-
DeliverySubmit or upload to application using vulnerable goldmark
-
ExploitApplication renders markdown, validates URL before entity resolution
-
ExecutionDangerous protocol bypasses prefix check
-
PersistBrowser decodes HTML entities in rendered output
-
ImpactExecute arbitrary JavaScript in user context
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Impact | The CVSS score of 6.1 reflects a moderate severity profile with several mitigating and aggravating factors. The attack vector is network-based and requires no privilege escalation (PR:N), making exploitation broadly accessible, but attack complexity is low (AC:L) only in crafting the payload-the actual attack requires user interaction (UI:R), meaning a user must click or follow a malicious link or render attacker-controlled markdown. The scope change (S:C) indicates the vulnerability crosses trust boundaries, affecting confidentiality and integrity but not availability. EPSS exploitation probability is not provided in the input, but the presence of a publicly documented commit fix and straightforward bypass technique suggests moderate real-world exploitability. The absence of CISA KEV status indicates this has not been confirmed as actively exploited in the wild at time of analysis, though the proof-of-concept nature of the vulnerability (simple HTML entity encoding) means weaponization is trivial. This is a genuine but not critical priority for applications that process untrusted markdown input and render it in web contexts; applications that use goldmark solely for server-side rendering without exposing the output to end-user browsers face lower practical risk. |
| Exploit ScenarioDerived | An attacker creates a malicious markdown document containing a link with an encoded javascript protocol, such as '[Click here](javascript:alert(1))'. When a user opens this markdown in an application using the vulnerable goldmark renderer (e.g., a note-taking app, wiki, or content management system), the renderer processes the URL, fails to recognize javascript: as dangerous because the validation check occurs before entity decoding, and outputs HTML like '<a href="javascript:alert(1)">Click here</a>'. The user's browser then decodes the HTML entity, converting javascript: to javascript:, and upon clicking the link, executes the attacker's JavaScript in the same origin, potentially stealing session cookies, performing actions on behalf of the user, or redirecting to a phishing site. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Apr 15, 2026
Cross-site scripting (XSS) in goldmark HTML renderer before version 1.7.17 allows unauthenticated remote attackers to execute arbitrary JavaScript by encoding dangerous URL schemes (such as javascript:) using HTML5 named character references, bypassing the renderer's prefix-based protocol validation due to improper ordering of entity resolution. Applications using affected versions can be exploited via crafted markdown containing malicious links that render unsafe protocols in user contexts, with a CVSS score of 6.1 indicating moderate real-world impact driven by the requirement for user interaction (UI:R) and change of scope across trust boundaries.
RemediationAI
Vendor-released patch: upgrade goldmark to version 1.7.17 or later. The upstream fix is documented in the commit cb46bbc4eca29d55aa9721e04ad207c23ccc44f9 (available at https://github.com/yuin/goldmark/commit/cb46bbc4eca29d55aa9721e04ad207c23ccc44f9), which reorders the validation logic to perform URL entity resolution before prefix-based dangerous protocol checking, preventing encoding bypasses. For Go applications, update the github.com/yuin/goldmark module dependency using 'go get -u github.com/yuin/goldmark@v1.7.17' or equivalent. Until patching, applications can implement additional server-side validation of link destinations using more robust URL parsing (parsing the URL to its canonical form before validation) rather than prefix matching. Verify the fix by testing against example payloads such as '[link](javascript:alert(1))' to confirm the renderer rejects or safely escapes the dangerous protocol.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 3 packages in go, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability exists in the goldmark markdown renderer's HTML output module, which processes markdown links and converts them to HTML anchor tags. The renderer implements URL validation through an IsDangerousURL function that uses prefix-based matching to detect and block dangerous protocols (javascript:, data:, vbscript:, etc.). However, the validation logic operates on the raw URL string before HTML entity resolution occurs. HTML5 named character references (such as : for ':') are resolved downstream during HTML rendering, allowing an attacker to encode the colon separator in dangerous schemes so they pass the prefix check intact. When the HTML is rendered by a browser, the entities are decoded, reconstructing the full dangerous URL scheme. This represents a classic CWE-79 (Improper Neutralization of Input During Web Page Generation) flaw where the order of operations creates a window for bypass. Affected versions are identified through the cpe:2.3:a:n/a:github.com/yuin/goldmark/renderer/html CPE string, indicating the renderer/html submodule of the goldmark package.
Know when N A gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:L/VA:N/SC:L/SI:L/SA:N
AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
4DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
LibreNMS before 24.10.0 allows a remote attacker to execute arbitrary code via OS command injection involving AboutContr
Reachable assertion in Open5GS up to version 2.7.6 allows remote unauthenticated attackers to crash the Diameter CER han
A Command Injection issue in the payload build page in BYOB (Build Your Own Botnet) 2.0 allows attackers to execute arbi
Denial of service in Open5GS 2.7.6 and earlier allows network-adjacent attackers with low-privilege Diameter Gx peer acc
Denial of service in Open5GS HSS (Home Subscriber Server) versions 2.7.0 through 2.7.6 is triggered remotely by manipula
Remote command injection in Control Web Panel allows unauthenticated attackers to execute arbitrary OS commands as root
LINQPad before 5.52.01 Pro edition is vulnerable to Unsafe Deserialization in LINQPad.AutoRefManager::PopulateFromCache(
Remote code execution in dash-uploader (Python package for Plotly Dash) versions 0.1.0 through 0.7.0a2 allows unauthenti
Command injection in LiteLLM 1.18.10 lets attackers who can configure MCP (Model Context Protocol) servers supply arbitr
SQL injection in AzuraCast's backup restore flow (versions up to and including 0.23.7) lets an attacker achieve privileg
Arbitrary file read in Yu AI Code Mother v4.3 lets anonymous, remote attackers retrieve files outside the intended previ
Remote code execution in APScheduler (all versions through 3.10.x and 4.0.0a5) is achievable when applications deseriali
Same weakness CWE-79 – Cross-site Scripting (XSS)
View allVendor StatusVendor
SUSE
Severity: Moderate| Product | Status |
|---|---|
| SUSE Linux Enterprise Server 16.0 | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.0 | Affected |
| SUSE Linux Micro 6.2 | Affected |
| openSUSE Leap 16.0 | Affected |
EUVD-2026-22836
GHSA-c97m-vxhj-p7j6
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB