Reflected_XSS_All_Clients issue exists @ WebGoatCoins/ProductDetails.aspx.cs in branch master
Method LoadComments at line 53 of WebGoatCoins\ProductDetails.aspx.cs gets user input for the prodRow 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 LoadComments at line 53 of WebGoatCoins\ProductDetails.aspx.cs. This may enable a Cross-Site-Scripting attack.
Reflected_XSS_All_Clients issue exists @ WebGoatCoins/ProductDetails.aspx.cs in branch master
Method LoadComments at line 53 of WebGoatCoins\ProductDetails.aspx.cs gets user input for the prodRow 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 LoadComments at line 53 of WebGoatCoins\ProductDetails.aspx.cs. This may enable a Cross-Site-Scripting attack.
Severity: High
CWE:79
Checkmarx
Lines: 64 65 68 76 77 63
Code (Line #64):
Code (Line #65):
Code (Line #68):
Code (Line #76):
Code (Line #77):
Code (Line #63):