vetkit.js.path-traversal.request-input
A filesystem path is derived from request input, which can allow reading or writing arbitrary files.
Last updated:
Suite: Security
javascript, typescript
A filesystem path is derived from request input, which can allow reading or writing arbitrary files.
Category: SECURITY · Engine rule severity: WARNING
How to fix it
Resolve the path, then verify it stays inside the intended base directory; reject .. segments.
References
Source: packages/engine/rules/sast/javascript.yml.
Generated from shipped rule definitions at build time. Matching is a review signal, not proof of exploitability. “generic” denotes text matching, not complete language or framework coverage. Runtime configuration and available tools affect whether a rule runs.