Prevelate / WebGoat.NET

OWASP WebGoat.NET
0 stars 0 forks source link

CX Reflected_XSS_All_Clients @ WebGoat/ProxySetup.aspx.cs [master] #16

Open Prevelate opened 4 years ago

Prevelate commented 4 years ago

Reflected_XSS_All_Clients issue exists @ WebGoat/ProxySetup.aspx.cs in branch master

Method btnReverse_Click at line 12 of WebGoat\ProxySetup.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 btnReverse_Click at line 12 of WebGoat\ProxySetup.aspx.cs. This may enable a Cross-Site-Scripting attack.

Severity: High

CWE:79

Vulnerability details and guidance

Checkmarx

Lines: 15


Code (Line #15):

            var name = txtName.Text;

Prevelate commented 4 years ago

Issue still exists.