We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2b5684d commit 1add8b0Copy full SHA for 1add8b0
1 file changed
javascript/ql/src/semmle/javascript/HtmlSanitizers.qll
@@ -15,6 +15,9 @@ abstract class HtmlSanitizerCall extends DataFlow::CallNode {
15
abstract DataFlow::Node getInput();
16
}
17
18
+/**
19
+ * Matches HTML sanitizers from known NPM packages as well as home-made sanitizers (matched by name).
20
+ */
21
private class DefaultHtmlSanitizerCall extends HtmlSanitizerCall {
22
DefaultHtmlSanitizerCall() {
23
exists (DataFlow::SourceNode callee | this = callee.getACall() |
0 commit comments