mirror of
https://github.com/github/codeql.git
synced 2026-04-24 16:25:15 +02:00
JS: Add implicit taint read of array elements
This commit is contained in:
@@ -61,5 +61,5 @@ predicate defaultTaintSanitizer(DataFlow::Node node) {
|
||||
bindingset[node]
|
||||
predicate defaultImplicitTaintRead(DataFlow::Node node, ContentSet c) {
|
||||
exists(node) and
|
||||
c = ContentSet::promiseValue()
|
||||
c = [ContentSet::promiseValue(), ContentSet::arrayElement()]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user