mirror of
https://github.com/github/codeql.git
synced 2025-12-24 04:36:35 +01:00
JS: Fix observed FPs in UnsafeJQueryPlugin
This commit is contained in:
@@ -23,6 +23,9 @@ class Configuration extends TaintTracking::Configuration {
|
||||
node instanceof DomBasedXss::Sanitizer
|
||||
or
|
||||
node instanceof Sanitizer
|
||||
or
|
||||
// Plugins usually do `$(this)` to coerce an existing DOM element to a jQuery object.
|
||||
node instanceof DataFlow::ThisNode
|
||||
}
|
||||
|
||||
override predicate isAdditionalTaintStep(DataFlow::Node src, DataFlow::Node sink) {
|
||||
|
||||
Reference in New Issue
Block a user