srcdevel / GHCxflowTest

0 stars 0 forks source link

CX Stored_XSS @ root/basket.jsp [master] #8

Closed srcdevel closed 4 years ago

srcdevel commented 4 years ago

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

Method stmt.executeQuery at line 242 of root\basket.jsp gets data from the database, for the rs 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 257 of root\basket.jsp. This may enable a Stored Cross-Site-Scripting attack.

Severity: High

CWE:79

Checkmarx

Lines: 242


Code (Line #242):

        rs = stmt.executeQuery();