Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAttacker hosts malicious download target
-
DeliveryUser initiates download in ytDownloader
-
ExploitApplication encounters error with attacker-controlled data
-
ExecutioncreateTextNode renders XSS payload in Error Details Panel
-
PersistScript executes in Electron renderer process
-
ImpactNode.js APIs accessed for OS command execution
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. |
| Exploitation Conditions | Exploitation requires a user to actively attempt to download a resource controlled or influenced by the attacker - specifically one that triggers an error displayed in the Error Details Panel. The CVSS 4.0 vector UI:P (passive interaction) indicates the user need not take a deliberate secondary action beyond the download attempt itself. No authentication or privileges are required (PR:N), and there are no known access complexity requirements (AC:L, AT:N). The primary limiting factor is that the attacker must be able to serve or reference content that ytDownloader will attempt to fetch and fail on in a way that surfaces attacker-controlled text in the error panel. Non-default Electron security hardening (contextIsolation enabled, nodeIntegration disabled) would limit or eliminate the XSS-to-RCE escalation, but not the underlying XSS. The vulnerability is restricted to ytDownloader versions 3.20.0 through 3.20.2; no confirmed exploitation of earlier versions exists. |
| Impact | The CVSS 4.0 score of 5.3 reflects limited direct impact (VI:L, no confidentiality or availability impact), but multiple signals indicate the real-world risk is elevated. The publicly available PoC - a video file named 'YtDownloader_XSS_To_RCE_PoC.mp4' hosted on GitHub - explicitly labels this as an XSS-to-RCE chain, which would dramatically increase the effective impact if substantiated. SSVC assesses exploitation as poc-level, non-automatable, and partial technical impact, consistent with EPSS at 0.03% (9th percentile), suggesting no current widespread opportunistic exploitation. However, the RCE escalation potential in an Electron context means individual targeted attacks could achieve full system compromise. The vulnerability is not in CISA KEV. A critical discrepancy exists: the CVSS vector scores VI:L and omits confidentiality and availability impact, but a confirmed XSS-to-RCE path would warrant C:H/I:H/A:H - this gap should be independently verified by examining Electron contextIsolation configuration in ytDownloader's source before finalizing risk posture. |
| Exploit ScenarioDerived | An attacker hosts a malicious video resource or download target with crafted metadata or error-triggering content designed to inject a script payload. When a user attempts to download this content with ytDownloader and the application encounters an error, the crafted payload is rendered in the Error Details Panel via the vulnerable createTextNode function. If ytDownloader is built on Electron with permissive security settings, the injected script may access Node.js APIs and execute arbitrary OS-level commands on the victim's machine, as demonstrated in the publicly available PoC video at https://github.com/ngocnn97/security-advisories/blob/main/YtDownloader_XSS_To_RCE_PoC.mp4. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 24, 2026
Cross-site scripting in ytDownloader up to 3.20.2 allows remote content to inject malicious scripts through the Error Details Panel via the createTextNode function. Versions 3.20.0 through 3.20.2 are confirmed affected per EUVD. A publicly available proof-of-concept titled 'XSS_To_RCE_PoC' strongly suggests the XSS is exploitable as a stepping stone to remote code execution in the likely Electron-based application environment, making the CVSS 5.3 score a probable underestimate of real-world impact. No public exploit confirmation via CISA KEV exists; exploitation requires passive user interaction.
RemediationAI
No vendor-released patched version has been confirmed at time of analysis. The vendor was notified early per the CVE description, but no advisory URL pointing to a fixed release is present in the reference set. Users should monitor the VulDB advisory at https://vuldb.com/vuln/357139 and the NVD entry at https://nvd.nist.gov/vuln/detail/CVE-2026-6218 for patch availability. As an interim compensating control, avoid using ytDownloader to process content from untrusted or unfamiliar sources, as the Error Details Panel appears to render error metadata sourced from external content. If the application is Electron-based, users can assess whether a newer build with corrected Electron security defaults (contextIsolation enabled, nodeIntegration disabled) mitigates the XSS-to-RCE escalation path, though this does not address the underlying XSS. Uninstalling the application until a patch is confirmed is the most conservative option given the potential RCE chain.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
ytDownloader (CPE: cpe:2.3:a:aandrew-me:ytdownloader:*:*:*:*:*:*:*:*) is a desktop video downloader application. Desktop download utilities of this type are commonly built on Electron, which renders web content in a Chromium context with optional Node.js integration. CWE-79 (Improper Neutralization of Input During Web Page Generation) is the root cause - the createTextNode function in the Error Details Panel component fails to sanitize externally sourced content before rendering it. While createTextNode is ordinarily a safe DOM API, the data it processes appears to be introduced into a rendering context that permits script execution, indicating misuse of the DOM construction pattern or secondary injection. In Electron applications where contextIsolation is disabled or nodeIntegration is enabled, XSS vulnerabilities are known to escalate to OS-level RCE, a pattern directly referenced by the PoC artifact title.
Know when Ytdownloader 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:P/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
Network-sourced XSS with required passive user interaction, scope change due to script execution in privileged Electron renderer; no availability or direct confidentiality breach confirmed.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
3DescriptionCVE.org
A vulnerability was found in aandrew-me ytDownloader up to 3.20.2. Affected by this issue is the function createTextNode of the component Error Details Panel. The manipulation results in cross site scripting. The attack may be performed from remote. The vendor was contacted early about this disclosure.
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.
EUVD-2026-22089
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB