PYLOAD-NG · CVE-2025-53890 · Package
FIX → 0.20
pyLoad passes CAPTCHA responses from its web interface directly into a JavaScript eval() call with no validation. A remote attacker can send a crafted response to the interactive CAPTCHA endpoint to run script in a user's browser and potentially on the server, leading to session hijacking and credential theft.
first public Jul 14, 2025 · 2 sources
Check it with your coding agent
It reads this page and tells you if your code or app is affected.
Any team running pyLoad's web interface (pyload-ng before 0.20) is exposed, because the vulnerable CAPTCHA endpoint accepts unauthenticated POST requests. Installations where the web interface is not reachable by untrusted parties carry much less risk. Teams that only use pyLoad as a local tool on a private machine can treat it as lower priority, but should still upgrade.
Not affected if pyload-ng-0.20-or-later, web-interface-not-exposed
Who cares pyload, python, self-hosted
pip show pyload-ng; versions below 0.20 are affected.8000).src/pyload/webui/app/static/js/captcha-interactive.user.js in the installed package and see whether it calls eval( on the CAPTCHA result.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.
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 NodeJSAre you affected?
Ask from here. InfraStack checks the affected versions against your stack and answers in your inbox.
InfraStack checks the affected versions against your stack and answers in Slack, with the evidence and the fix.
InfraStack checks it against your stack and answers on your report, with the evidence and the fix.
Upgrade to 0.20
pyload-ng to 0.20, which is the fixed version in the product data.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
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 -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
This page as .md · .json · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHub Advisory Database, CC-BY 4.0 · NVD data is provided by NIST and is public domain. Posts quoted belong to their authors.