We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 650446f commit 8b756d7Copy full SHA for 8b756d7
java/ql/src/experimental/Security/CWE/CWE-352/JsonpInjection.ql
@@ -28,7 +28,11 @@ predicate existsFilterVerificationMethod() {
28
)
29
}
30
31
-/** Determine whether there is a verification method for the remote streaming source data flow path method. */
+/**
32
+ * Holds if somewhere in the whole program some user-controlled
33
+ * input is tested with what appears to be a token- or authentication-checking function,
34
+ * and `checkNode` is reachable from any function that can reach the user-controlled input source.
35
+ */
36
predicate existsServletVerificationMethod(Node checkNode) {
37
exists(DataFlow::Node source, DataFlow::Node sink, VerificationMethodFlowConfig vmfc |
38
vmfc.hasFlow(source, sink) and
0 commit comments