JS: add the NoSQL $where as a sink for js/code-injection

This commit is contained in:
Esben Sparre Andreasen
2020-05-12 22:05:30 +02:00
parent 20cf04442c
commit 7722d77c86
7 changed files with 94 additions and 1 deletions

View File

@@ -25,6 +25,7 @@
| Uncontrolled command line (`js/command-line-injection`) | More results | This query now recognizes additional command execution calls. |
| Expression has no effect (`js/useless-expression`) | Less results | This query no longer flags an expression when that expression is the only content of the containing file. |
| Unknown directive (`js/unknown-directive`) | Less results | This query no longer flags directives generated by the Babel compiler. |
| Code injection (`js/code-injection`) | More results | More potential vulnerabilities involving NoSQL code operators are now recognized. |
## Changes to libraries