CVE-2025-53890 — Vulnerability in pyload-ng — CVE Details
pyLoad vulnerable to XSS through insecure CAPTCHA
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (2.12%). Schedule for your next planned update.
Does your project use an affected pyload-ng version?
Paste your requirements.txt to check it for CVE-2025-53890 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
Summary
An unsafe JavaScript evaluation vulnerability in pyLoad’s CAPTCHA processing code allows unauthenticated remote attackers to execute arbitrary code in the client browser and potentially the backend server. Exploitation requires no user interaction or authentication and can result in session hijacking, credential theft, and full system rce.
Details
The vulnerable code resides in
function onCaptchaResult(result) {
eval(result); // Direct execution of attacker-controlled input
}
- The
onCaptchaResult()function directly passes CAPTCHA results (sent from the user) intoeval() - No sanitization or validation is performed on this input
- A malicious CAPTCHA result can include JavaScript such as
fetch()orchild_process.exec()in environments using NodeJS - Attackers can fully hijack sessions and pivot to remote code execution on the server if the environment allows it
Reproduction Methods
- Official Source Installation:
git clone https://github.com/pyload/pyload
cd pyload
git checkout 0.4.20
python -m pip install -e .
pyload --userdir=/tmp/pyload
- Virtual Environment:
python -m venv pyload-env
source pyload-env/bin/activate
pip install pyload==0.4.20
pyload
CAPTCHA Endpoint Verification
Technical Clarification:
-
The vulnerable endpoint is actually:
/interactive/captcha -
Complete PoC Request:
POST /interactive/captcha HTTP/1.1
Host: localhost:8000
Content-Type: application/x-www-form-urlencoded
cid=123&response=1%3Balert(document.cookie)
- Curl Command Correction:
curl -X POST "http://localhost:8000/interactive/captcha" \
-d "cid=123&response=1%3Balert(document.cookie)"
- Vulnerable Code Location:
The eval() vulnerability is confirmed in:src/pyload/webui/app/static/js/captcha-interactive.user.js
Resources
Advisory Timeline
- First published July 15, 2025 (499 days ago).
- Last revised November 16, 2026 — 489 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
pip install "pyload-ng>=0.20"
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: PyPI (1).
| Package | Fixed In |
|---|---|
| pyload-ng PyPI · Affected: 0.5.0a5.dev528, 0.5.0a5.dev532, 0.5.0a5.dev535, 0.5.0a5.dev536 (+103 more) | 0.20 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
References
- https://github.com/pyload/pyload/security/advisories/GHSA-8w3f-4r8f-pf53WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-53890ADVISORY
- https://github.com/pyload/pyload/pull/4586WEB
- https://github.com/pyload/pyload/commit/909e5c97885237530d1264cfceb5555870eb9546WEB
- https://github.com/pyload/pyloadPACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/pyload-ng/PYSEC-2026-496.yamlWEB
- https://pypi.org/project/pyload-ngWEB
Frequently Asked Questions
- What is CVE-2025-53890?
- pyLoad vulnerable to XSS through insecure CAPTCHA. This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
- How do I check if my project is affected by CVE-2025-53890?
- CVE-2025-53890 affects pyload-ng. It has a 2.1% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-53890 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Maximum impact if exploited, often with little effort or access required.
This places it in the top quartile of EPSS-scored vulnerabilities — 82.5% of tracked vulnerabilities score at or below it, so it is more likely to be exploited than most of the tracked corpus.
Also Known As
Related CVEs
- CVE-2024-32880CRITICAL
pyLoad allows upload to arbitrary folder lead to RCE
- CVE-2025-54802CRITICAL
pyLoad CNL Blueprint allows Path Traversal through `dlc_path` which leads to Remote Code Execution (RCE)
- CVE-2023-0435CRITICAL
Excessive Attack Surface in pyload-ng
- CVE-2025-55156CRITICAL
PyLoad vulnerable to SQL Injection via API /json/add_package in add_links parameter
- CVE-2025-54802CRITICAL
pyLoad CNL Blueprint allows Path Traversal through `dlc_path` which leads to Remote Code Execution (RCE)
- CVE-2026-35459CRITICAL
pyLoad: SSRF filter bypass via HTTP redirect in BaseDownloader (Incomplete fix for CVE-2026-33992)
- CVE-2026-33992CRITICAL
pyLoad: Server-Side Request Forgery via Download Link Submission Enables Cloud Metadata Exfiltration
- CVE-2024-39205CRITICAL
pyload-ng vulnerable to RCE with js2py sandbox escape