Cx-aschmit / CxFlowGithub

0 stars 0 forks source link

CX Reflected_XSS_All_Clients @ root/basket.jsp [master] #11

Closed Cx-aschmit closed 4 years ago

Cx-aschmit commented 4 years ago

Reflected_XSS_All_Clients issue exists @ root/basket.jsp in branch master

Method request.getCookies at line 38 of root\basket.jsp gets user input for the getCookies 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 out.println at line 141 of root\basket.jsp. This may enable a Cross-Site-Scripting attack.

Severity: High

CWE:79

Checkmarx

Lines: 38


Code (Line #38):

    Cookie[] cookies = request.getCookies();