mirror of
https://github.com/github/codeql.git
synced 2026-01-29 22:32:58 +01:00
Add NumericType sanitizer
This commit is contained in:
@@ -144,7 +144,7 @@ class FlowConfFromUntrustedToTemplateExecutionCall extends TaintTracking::Config
|
||||
override predicate isSink(DataFlow::Node sink) { isSinkToTemplateExec(sink, _) }
|
||||
|
||||
override predicate isSanitizer(DataFlow::Node sanitizer) {
|
||||
sanitizer instanceof SharedXss::Sanitizer
|
||||
sanitizer instanceof SharedXss::Sanitizer or sanitizer.getType() instanceof NumericType
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user