mirror of
https://github.com/github/codeql.git
synced 2026-04-28 02:05:14 +02:00
Java: IPA the CFG
This commit is contained in:
@@ -55,7 +55,7 @@ module SpringViewManipulationConfig implements DataFlow::ConfigSig {
|
||||
// a = "redirect:" + taint`
|
||||
// ```
|
||||
exists(AddExpr e, StringLiteral sl |
|
||||
node.asExpr() = e.getControlFlowNode().getASuccessor*() and
|
||||
node.asExpr() = e.getControlFlowNode().getASuccessor*().asExpr() and
|
||||
sl = e.getLeftOperand*() and
|
||||
sl.getValue().matches(["redirect:%", "ajaxredirect:%", "forward:%"])
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user