mirror of
https://github.com/github/codeql.git
synced 2025-12-20 18:56:32 +01:00
Moved from experimental
This commit is contained in:
@@ -13,7 +13,8 @@
|
||||
import java
|
||||
import JexlInjectionLib
|
||||
import DataFlow::PathGraph
|
||||
import FlowUtils
|
||||
import semmle.code.java.dataflow.FlowSources
|
||||
//import FlowUtils
|
||||
|
||||
/**
|
||||
* A taint-tracking configuration for unsafe user input
|
||||
@@ -28,8 +29,8 @@ class JexlInjectionConfig extends TaintTracking::Configuration {
|
||||
override predicate isSink(DataFlow::Node sink) { sink instanceof JexlEvaluationSink }
|
||||
|
||||
override predicate isAdditionalTaintStep(DataFlow::Node node1, DataFlow::Node node2) {
|
||||
any(JexlInjectionAdditionalTaintStep c).step(node1, node2) or
|
||||
hasGetterFlow(node1, node2)
|
||||
any(JexlInjectionAdditionalTaintStep c).step(node1, node2) /*or
|
||||
hasGetterFlow(node1, node2)*/
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user