mirror of
https://github.com/github/codeql.git
synced 2025-12-22 11:46:32 +01:00
JavaScript: add import that populate the shared abstract classes
This commit is contained in:
@@ -20,6 +20,13 @@ module Shared {
|
||||
string getVulnerabilityKind() { result = "Cross-site scripting" }
|
||||
}
|
||||
|
||||
// import the various XSS query customizations, they populate the shared classes
|
||||
private import DomBasedXssCustomizations
|
||||
private import ReflectedXssCustomizations
|
||||
private import StoredXssCustomizations
|
||||
private import XssThroughDomCustomizations
|
||||
private import ExceptionXssCustomizations
|
||||
|
||||
/** A sanitizer for XSS vulnerabilities. */
|
||||
abstract class Sanitizer extends DataFlow::Node { }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user