During white-box pentesting of a Node.js application, you find: const result = eval(userInput); Which vulnerability class does this represent, and what is the most critical risk?
- APrototype pollution, enabling property injection on all objects
- BServer-side JavaScript injection (SSJI), enabling arbitrary code execution on the Node.js…
- CDOM-based XSS, enabling script injection in the browser
- DReDoS, enabling CPU exhaustion via malicious regex