mirror of
https://github.com/github/codeql.git
synced 2026-04-30 03:05:15 +02:00
JS: Track DOM elements out of collections
This commit is contained in:
@@ -421,6 +421,9 @@ module DOM {
|
||||
t.startInProp("target") and
|
||||
result = domEventSource()
|
||||
or
|
||||
t.startInProp(DataFlow::PseudoProperties::arrayElement()) and
|
||||
result = domElementCollection()
|
||||
or
|
||||
exists(DataFlow::TypeTracker t2 | result = domValueRef(t2).track(t2, t))
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user