Skip to content

Commit f48b47c

Browse files
committed
JavaScript: add import that populate the shared abstract classes
1 parent 57c757c commit f48b47c

File tree

1 file changed

+7
-0
lines changed
  • javascript/ql/lib/semmle/javascript/security/dataflow

1 file changed

+7
-0
lines changed

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,13 @@ module Shared {
2020
string getVulnerabilityKind() { result = "Cross-site scripting" }
2121
}
2222

23+
// import the various XSS query customizations, they populate the shared classes
24+
private import DomBasedXssCustomizations
25+
private import ReflectedXssCustomizations
26+
private import StoredXssCustomizations
27+
private import XssThroughDomCustomizations
28+
private import ExceptionXssCustomizations
29+
2330
/** A sanitizer for XSS vulnerabilities. */
2431
abstract class Sanitizer extends DataFlow::Node { }
2532

0 commit comments

Comments
 (0)