mirror of
https://github.com/github/codeql.git
synced 2026-05-03 20:58:03 +02:00
JavaScript: Add import DataFlow::PathGraph.
This commit is contained in:
@@ -14,7 +14,8 @@
|
||||
|
||||
import javascript
|
||||
import semmle.javascript.security.dataflow.ClientSideUrlRedirect::ClientSideUrlRedirect
|
||||
import DataFlow::PathGraph
|
||||
|
||||
from Configuration cfg, DataFlow::Node source, DataFlow::Node sink
|
||||
where cfg.hasFlow(source, sink)
|
||||
select sink, "Untrusted URL redirection due to $@.", source, "user-provided value"
|
||||
select sink, "Untrusted URL redirection due to $@.", source, "user-provided value"
|
||||
|
||||
@@ -12,6 +12,7 @@
|
||||
|
||||
import javascript
|
||||
import semmle.javascript.security.dataflow.ServerSideUrlRedirect::ServerSideUrlRedirect
|
||||
import DataFlow::PathGraph
|
||||
|
||||
from Configuration cfg, DataFlow::Node source, DataFlow::Node sink
|
||||
where cfg.hasFlow(source, sink)
|
||||
|
||||
Reference in New Issue
Block a user