Aandrew-me ytDownloader DOM-Based Cross-Site Scripting Vulnerability Allowing Remote Code Execution

Vulnerability

A cross-site scripting (XSS) vulnerability has been identified in Aandrew-me ytDownloader versions up to 3.20.2. This issue arises in the Error Details Panel component, specifically within the createTextNode function. The vulnerability allows for remote code execution by exploiting unsafe handling of untrusted input, which is inserted into the DOM using innerHTML without proper encoding or sanitization. The Electron application, which integrates yt-dlp and ffmpeg for media downloading and processing, has its security settings configured to allow direct access to Node.js and Electron APIs, facilitating the execution of arbitrary commands on the local machine with the user's privileges.

Impact

Exploitation of this vulnerability allows for the execution of JavaScript in the Electron renderer, access to Electron and Node.js APIs, execution of arbitrary local commands with the current user's privileges, and potential access to local files or application data.

Reproduction

The vulnerability can be reproduced by inserting untrusted input, such as attacker-controlled URLs or error messages from failed metadata retrieval, into the Error Details Panel. This input is processed by the application without proper sanitization, allowing for the execution of malicious scripts.

Remediation

Users are advised to update to a version that addresses this vulnerability. The maintainer has acknowledged the issue and is working on a fix.

Added: Apr 13, 2026, 10:12 PM
Updated: Apr 13, 2026, 10:12 PM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
1.3
exploitability
7.5
remediation
0.0
relevance
5.8
threat
6.4
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.