Skip to main content

ytDownloader CVE-2026-6218

| EUVDEUVD-2026-22089 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-04-13 VulDB
5.3
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Attacker hosts malicious download target
  2. Delivery
    User initiates download in ytDownloader
  3. Exploit
    Application encounters error with attacker-controlled data
  4. Execution
    createTextNode renders XSS payload in Error Details Panel
  5. Persist
    Script executes in Electron renderer process
  6. Impact
    Node.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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

ytDownloader 3.20.1
ytDownloader 3.20.2
ytDownloader 3.20.0

Affected Packages

euvd ytdownloader no fix

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

Vendor (VulDB) PRIMARY 5.3 MEDIUM
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
vuln.today AI 6.1 MEDIUM

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.

3.1 AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:L/VA:N/SC:L/SI:L/SA:N

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

3
PoC Detected
Apr 22, 2026 - 20:23 vuln.today
Public exploit code
CVSS changed
Apr 13, 2026 - 21:22 NVD
4.3 (MEDIUM) 5.3 (MEDIUM)
CVE Published
Apr 13, 2026 - 20:30 nvd
MEDIUM 5.3

DescriptionCVE.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

EPSS Score
0.0%
Top 91% exploitable
Prevalence
Low
niche open-source desktop video downloader, limited enterprise footprint
Exploit
POC
Public exploit code exists
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

46
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy