mirror of
https://github.com/github/codeql.git
synced 2026-04-29 18:55:14 +02:00
Update java/ql/src/Security/CWE/CWE-652/XQueryInjection.ql
Co-authored-by: Chris Smowton <smowton@github.com>
This commit is contained in:
@@ -30,7 +30,7 @@ class XQueryInjectionConfig extends TaintTracking::Configuration {
|
||||
}
|
||||
|
||||
/**
|
||||
* Conveys taint from the input to a `prepareExpression` call to the returned prepared expression.
|
||||
* Holds if taint from the input `pred` to a `prepareExpression` call flows to the returned prepared expression `succ`.
|
||||
*/
|
||||
override predicate isAdditionalTaintStep(DataFlow::Node pred, DataFlow::Node succ) {
|
||||
exists(XQueryParserCall parser | pred.asExpr() = parser.getInput() and succ.asExpr() = parser)
|
||||
|
||||
Reference in New Issue
Block a user