cxdcox / CxFlowGitHub

Lab 1
0 stars 0 forks source link

CX Stored_XSS @ root/home.jsp [master] #4

Open cxdcox opened 4 years ago

cxdcox commented 4 years ago

Stored_XSS issue exists @ root/home.jsp in branch master

Method stmt.executeQuery at line 25 of root\home.jsp gets data from the database, for the executeQuery element. This element’s value then flows through the code without being properly filtered or encoded and is eventually displayed to the user in method out.println at line 31 of root\home.jsp. This may enable a Stored Cross-Site-Scripting attack.

Severity: High

CWE:79

Checkmarx

Lines: 25


Code (Line #25):

            rs = stmt.executeQuery();

cxdcox commented 4 years ago

Issue still exists.

cxdcox commented 4 years ago

Issue still exists.