| Title | elecV2P <=3.8.3 Remote Code Execution |
|---|
| Description | Remote Code Execution (RCE) vulnerability in elecV2P via the /jsfile endpoint. When type=totest, user-supplied jscontent is passed to runJSFile() which executes arbitrary JavaScript code. The sJson function's unsafe use of new Function("return " + str) enables code injection. Attackers can execute system commands via process.mainModule.require('child_process').exec(), achieving full server compromise. DNS callback confirms successful command execution. |
|---|
| Source | ⚠️ https://github.com/elecV2/elecV2P/issues/194 |
|---|
| User | ZAST.AI (UID 87884) |
|---|
| Submission | 02/25/2026 11:38 (3 months ago) |
|---|
| Moderation | 03/11/2026 13:30 (14 days later) |
|---|
| Status | Accepted |
|---|
| VulDB entry | 350385 [elecV2P up to 3.8.3 jsfile Endpoint wbjs.js runJSFile code injection] |
|---|
| Points | 20 |
|---|