cxdcox / CxFlowGitHub

Lab 1
0 stars 0 forks source link

CX Reflected_XSS_All_Clients @ root/register.jsp [master] #15

Open cxdcox opened 4 years ago

cxdcox commented 4 years ago

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

Method request.getCookies at line 46 of root\register.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 96 of root\register.jsp. This may enable a Cross-Site-Scripting attack.

Severity: High

CWE:79

Checkmarx

Lines: 46


Code (Line #46):

            Cookie[] cookies = request.getCookies();

cxdcox commented 4 years ago

Issue still exists.

cxdcox commented 4 years ago

Issue still exists.