JS: Add implicit taint read of array elements

This commit is contained in:
Asger F
2024-08-19 14:15:02 +02:00
parent df42e7c527
commit 371f7ef551
3 changed files with 6 additions and 4 deletions

View File

@@ -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()]
}