Skip to content

Commit 6ef55aa

Browse files
GeekMasheryoff
andauthored
Update python/ql/lib/semmle/python/security/dataflow/ReflectedXSSCustomizations.qll
Co-authored-by: yoff <[email protected]>
1 parent e3d75c4 commit 6ef55aa

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

python/ql/lib/semmle/python/security/dataflow/ReflectedXSSCustomizations.qll

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@ module ReflectedXss {
4747
/**
4848
* A data flow sink for "reflected cross-site scripting" vulnerabilities.
4949
*/
50-
private class DefaultReflectedXss extends Sink {
51-
DefaultReflectedXss() {
52-
this = ModelOutput::getASourceNode(["html-injection", "js-injection"]).asSource()
50+
private class SinkFromModel extends Sink {
51+
SinkFromModel() {
52+
this = ModelOutput::getASinkNode(["html-injection", "js-injection"]).asSink()
5353
}
5454
}
5555

0 commit comments

Comments
 (0)