mirror of
https://github.com/github/codeql.git
synced 2026-04-27 09:45:15 +02:00
Add taint step for StringTemplateExpr
This commit is contained in:
committed by
Ian Lynagh
parent
b7914ed77b
commit
6bd6097ed1
@@ -157,6 +157,8 @@ private predicate localAdditionalTaintExprStep(Expr src, Expr sink) {
|
||||
or
|
||||
sink.(AssignAddExpr).getSource() = src and sink.getType() instanceof TypeString
|
||||
or
|
||||
sink.(StringTemplateExpr).getComponent(_) = src
|
||||
or
|
||||
sink.(LogicExpr).getAnOperand() = src
|
||||
or
|
||||
constructorStep(src, sink)
|
||||
|
||||
Reference in New Issue
Block a user