vetkit.js.xpath-injection.request-input
Request input is spliced into an XPath expression. An attacker can change the query to read other parts of the XML document.
Last updated:
Suite: Security
javascript, typescript
Request input is spliced into an XPath expression. An attacker can change the query to read other parts of the XML document.
Category: SECURITY · Engine rule severity: WARNING
How to fix it
Use XPath variables / parameter binding where available, or validate the value against a strict allow-list.
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.