Skip to content

Commit 90652ee

Browse files
committed
add $.jGrowl as an XSS sink
1 parent da32926 commit 90652ee

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

  • javascript/ql/src/semmle/javascript/security/dataflow

javascript/ql/src/semmle/javascript/security/dataflow/Xss.qll

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,8 @@ module DomBasedXss {
9999
this = any(Typeahead::TypeaheadSuggestionFunction f).getAReturn()
100100
or
101101
this = any(Handlebars::SafeString s).getAnArgument()
102+
or
103+
this = any(JQuery::MethodCall call | call.getMethodName() = "jGrowl").getArgument(0)
102104
}
103105
}
104106

0 commit comments

Comments
 (0)