mirror of
https://github.com/github/codeql.git
synced 2025-12-24 12:46:34 +01:00
Update python/ql/lib/semmle/python/security/dataflow/ReflectedXSSCustomizations.qll
Co-authored-by: yoff <lerchedahl@gmail.com>
This commit is contained in:
@@ -47,9 +47,9 @@ module ReflectedXss {
|
||||
/**
|
||||
* A data flow sink for "reflected cross-site scripting" vulnerabilities.
|
||||
*/
|
||||
private class DefaultReflectedXss extends Sink {
|
||||
DefaultReflectedXss() {
|
||||
this = ModelOutput::getASourceNode(["html-injection", "js-injection"]).asSource()
|
||||
private class SinkFromModel extends Sink {
|
||||
SinkFromModel() {
|
||||
this = ModelOutput::getASinkNode(["html-injection", "js-injection"]).asSink()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user