Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0c124d2

Browse files
committed
JavaScript: add taint step through 'join'
1 parent c0fe0a1 commit 0c124d2

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

javascript/ql/src/semmle/javascript/dataflow/TaintTracking.qll

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,9 @@ module TaintTracking {
365365
name = "trimRight" or
366366
// sorted, interesting, properties of Object.prototype
367367
name = "toString" or
368-
name = "valueOf"
368+
name = "valueOf" or
369+
// sorted, interesting, properties of Array.prototype
370+
name = "join"
369371
) or
370372
exists (int i | pred.asExpr() = astNode.(MethodCallExpr).getArgument(i) |
371373
name = "concat" or

0 commit comments

Comments
 (0)