Ruby: renames for rb/xpath-injection

This commit is contained in:
Alex Ford
2023-09-03 16:01:40 +01:00
parent 42cd58695d
commit 77f3a70376
2 changed files with 22 additions and 17 deletions

View File

@@ -13,9 +13,9 @@
import codeql.ruby.DataFlow
import codeql.ruby.security.XpathInjectionQuery
import XpathInjection::PathGraph
import XpathInjectionFlow::PathGraph
from XpathInjection::PathNode source, XpathInjection::PathNode sink
where XpathInjection::flowPath(source, sink)
from XpathInjectionFlow::PathNode source, XpathInjectionFlow::PathNode sink
where XpathInjectionFlow::flowPath(source, sink)
select sink.getNode(), source, sink, "XPath expression depends on a $@.", source.getNode(),
"user-provided value"