File tree Expand file tree Collapse file tree 6 files changed +39
-0
lines changed
csharp/ql/integration-tests/all-platforms Expand file tree Collapse file tree 6 files changed +39
-0
lines changed Original file line number Diff line number Diff line change
1
+ | BlazorTest/Components/Pages/TestPage.razor:10:29:10:36 | access to property UrlParam | ASP.NET Core component route parameter |
2
+ | BlazorTest/Components/Pages/TestPage.razor:11:48:11:55 | access to property UrlParam | ASP.NET Core component route parameter |
3
+ | BlazorTest/Components/Pages/TestPage.razor:19:38:19:47 | access to property QueryParam | ASP.NET Core component query string |
4
+ | BlazorTest/Components/Pages/TestPage.razor:20:60:20:69 | access to property QueryParam | ASP.NET Core component query string |
5
+ | BlazorTest/Components/Pages/TestPage.razor:27:29:27:39 | access to property InputValue1 | ASP.NET Core `InputBase<>.Value`-bound property read |
6
+ | BlazorTest/Components/Pages/TestPage.razor:80:29:80:39 | access to property InputValue6 | ASP.NET Core `InputBase<>.Value`-bound property read |
Original file line number Diff line number Diff line change
1
+ import semmle.code.csharp.security.dataflow.flowsources.Remote
2
+
3
+ from RemoteFlowSource source , File f
4
+ where
5
+ source .getLocation ( ) .getFile ( ) = f and
6
+ ( f .fromSource ( ) or f .getExtension ( ) = "razor" )
7
+ select source , source .getSourceType ( )
Original file line number Diff line number Diff line change
1
+ | BlazorTest/Components/Pages/TestPage.razor:10:29:10:36 | access to property UrlParam | ASP.NET Core component route parameter |
2
+ | BlazorTest/Components/Pages/TestPage.razor:11:48:11:55 | access to property UrlParam | ASP.NET Core component route parameter |
3
+ | BlazorTest/Components/Pages/TestPage.razor:19:38:19:47 | access to property QueryParam | ASP.NET Core component query string |
4
+ | BlazorTest/Components/Pages/TestPage.razor:20:60:20:69 | access to property QueryParam | ASP.NET Core component query string |
5
+ | BlazorTest/Components/Pages/TestPage.razor:27:29:27:39 | access to property InputValue1 | ASP.NET Core `InputBase<>.Value`-bound property read |
6
+ | BlazorTest/Components/Pages/TestPage.razor:80:29:80:39 | access to property InputValue6 | ASP.NET Core `InputBase<>.Value`-bound property read |
Original file line number Diff line number Diff line change
1
+ import semmle.code.csharp.security.dataflow.flowsources.Remote
2
+
3
+ from RemoteFlowSource source , File f
4
+ where
5
+ source .getLocation ( ) .getFile ( ) = f and
6
+ ( f .fromSource ( ) or f .getExtension ( ) = "razor" )
7
+ select source , source .getSourceType ( )
Original file line number Diff line number Diff line change
1
+ | BlazorTest/Components/Pages/TestPage.razor:10:29:10:36 | access to property UrlParam | ASP.NET Core component route parameter |
2
+ | BlazorTest/Components/Pages/TestPage.razor:11:48:11:55 | access to property UrlParam | ASP.NET Core component route parameter |
3
+ | BlazorTest/Components/Pages/TestPage.razor:19:38:19:47 | access to property QueryParam | ASP.NET Core component query string |
4
+ | BlazorTest/Components/Pages/TestPage.razor:20:60:20:69 | access to property QueryParam | ASP.NET Core component query string |
5
+ | BlazorTest/Components/Pages/TestPage.razor:27:29:27:39 | access to property InputValue1 | ASP.NET Core `InputBase<>.Value`-bound property read |
6
+ | BlazorTest/Components/Pages/TestPage.razor:80:29:80:39 | access to property InputValue6 | ASP.NET Core `InputBase<>.Value`-bound property read |
Original file line number Diff line number Diff line change
1
+ import semmle.code.csharp.security.dataflow.flowsources.Remote
2
+
3
+ from RemoteFlowSource source , File f
4
+ where
5
+ source .getLocation ( ) .getFile ( ) = f and
6
+ ( f .fromSource ( ) or f .getExtension ( ) = "razor" )
7
+ select source , source .getSourceType ( )
You can’t perform that action at this time.
0 commit comments