Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a2050b commit 406b080Copy full SHA for 406b080
1 file changed
javascript/ql/lib/semmle/javascript/security/dataflow/PostMessageStarQuery.qll
@@ -34,6 +34,7 @@ module PostMessageStarConfig implements DataFlow::ConfigSig {
34
predicate isBarrier(DataFlow::Node node) { node instanceof Sanitizer }
35
36
predicate allowImplicitRead(DataFlow::Node node, DataFlow::ContentSet contents) {
37
+ // If an object leaks, all of its properties have leaked
38
isSink(node) and contents = DataFlow::ContentSet::anyProperty()
39
}
40
0 commit comments