mirror of
https://github.com/github/codeql.git
synced 2026-05-02 20:25:13 +02:00
use isLikelyIntentionalHtmlSink in the sink instead of in the where clause
This commit is contained in:
@@ -20,7 +20,6 @@ from
|
||||
JQuery::JQueryPluginMethod plugin
|
||||
where
|
||||
cfg.hasFlowPath(source, sink) and
|
||||
source.getNode().(Source).getPlugin() = plugin and
|
||||
not isLikelyIntentionalHtmlSink(plugin, sink.getNode())
|
||||
source.getNode().(Source).getPlugin() = plugin
|
||||
select sink.getNode(), source, sink, "Potential XSS vulnerability in the $@.", plugin,
|
||||
"'$.fn." + plugin.getPluginName() + "' plugin"
|
||||
|
||||
Reference in New Issue
Block a user