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 77private import python
88private import semmle.python.dataflow.new.DataFlow
99private import semmle.python.Concepts
10+ private import semmle.python.frameworks.data.ModelsAsData
1011private import semmle.python.dataflow.new.RemoteFlowSources
1112private import semmle.python.dataflow.new.BarrierGuards
1213
@@ -43,6 +44,13 @@ module ReflectedXss {
4344 */
4445 class RemoteFlowSourceAsSource extends Source , RemoteFlowSource { }
4546
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+
4654 /**
4755 * The body of a HTTP response that will be returned from a server, considered as a flow sink.
4856 */
You can’t perform that action at this time.
0 commit comments