We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c40223 commit bafe357Copy full SHA for bafe357
javascript/ql/lib/semmle/javascript/security/dataflow/CodeInjectionQuery.qll
@@ -18,8 +18,7 @@ class Configuration extends TaintTracking::Configuration {
18
19
override predicate isSource(DataFlow::Node source) { source instanceof Source }
20
21
- override predicate isSink(DataFlow::Node sink) { sink instanceof Sink and
22
- sink.getFile().getLocation().toString().matches("%script%") }
+ override predicate isSink(DataFlow::Node sink) { sink instanceof Sink }
23
24
override predicate isSanitizer(DataFlow::Node node) {
25
super.isSanitizer(node) or
0 commit comments