Reflected_XSS_All_Clients issue exists @ WebGoat/Content/ReflectedXSS.aspx.cs in branch master
Method Page_Load at line 17 of WebGoat\Content\ReflectedXSS.aspx.cs gets user input for the Request 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 LoadCity at line 23 of WebGoat\Content\ReflectedXSS.aspx.cs. This may enable a Cross-Site-Scripting attack.
Reflected_XSS_All_Clients issue exists @ WebGoat/Content/ReflectedXSS.aspx.cs in branch master
Method Page_Load at line 17 of WebGoat\Content\ReflectedXSS.aspx.cs gets user input for the Request 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 LoadCity at line 23 of WebGoat\Content\ReflectedXSS.aspx.cs. This may enable a Cross-Site-Scripting attack.
Severity: High
CWE:79
Vulnerability details and guidance
Checkmarx
Lines: 20
Code (Line #20):