Eval Eval Require

Passing untrusted user input directly into the require() function without proper validation or sanitization can possibly cause a vulnerability known as remote code execution (RCE). An attacker could manipulate the input to load and execute arbitrary code from external sources, potentially leading to severe security breaches such as data theft, system comprom

IndexedPublic repositoryHighMedium confidenceVerifiedLGPL-3.0-onlyJS
greprules fetch gitlab-sast-rules-lgpl-javascript-eval-rule-eval-require --engine opengrep

Description

Passing untrusted user input directly into the require() function without proper validation or sanitization can possibly cause a vulnerability known as remote code execution (RCE). An attacker could manipulate the input to load and execute arbitrary code from external sources, potentially leading to severe security breaches such as data theft, system comprom