Reflected_XSS_All_Clients issue exists @ WebSite/BlogCreate.aspx.cs in branch master
Method btnSubmit_Click at line 15 of WebSite\BlogCreate.aspx.cs gets user input for the Text element. This element’s value then flows through the code without being properly sanitized or validated and is eventually displayed to the user in method btnSubmit_Click at line 15 of WebSite\BlogCreate.aspx.cs. This may enable a Cross-Site-Scripting attack.
Severity: High
CWE:79
Vulnerability details and guidance
Lines: 22 23
Code (Line #22):
var title = txtTitle.Text;
Code (Line #23):
var contents = txtContents.Text;