File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed
python/ql/lib/semmle/python/security/dataflow Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change 7
7
private import python
8
8
private import semmle.python.dataflow.new.DataFlow
9
9
private import semmle.python.Concepts
10
+ private import semmle.python.frameworks.data.ModelsAsData
10
11
private import semmle.python.dataflow.new.RemoteFlowSources
11
12
private import semmle.python.dataflow.new.BarrierGuards
12
13
@@ -43,6 +44,13 @@ module ReflectedXss {
43
44
*/
44
45
class RemoteFlowSourceAsSource extends Source , RemoteFlowSource { }
45
46
47
+ /**
48
+ * A data flow sink for "reflected cross-site scripting" vulnerabilities.
49
+ */
50
+ private class DefaultReflectedXss extends Sink {
51
+ DefaultReflectedXss ( ) { this = ModelOutput:: getASourceNode ( [ "html-injection" , "js-injection" ] ) .asSource ( ) }
52
+ }
53
+
46
54
/**
47
55
* The body of a HTTP response that will be returned from a server, considered as a flow sink.
48
56
*/
You can’t perform that action at this time.
0 commit comments