alexanderlednik / CxFlowGithub

0 stars 0 forks source link

CX Stored_XSS @ root/login.jsp [master] #14

Open alexanderlednik opened 4 years ago

alexanderlednik commented 4 years ago

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

Method stmt.executeQuery at line 15 of root\login.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 value=""/> at line 89 of root\contact.jsp. This may enable a Stored Cross-Site-Scripting attack.

Severity: High

CWE:79

Checkmarx

Lines: 15


Code (Line #15):

        rs = stmt.executeQuery("SELECT * FROM Users WHERE (name = '" + username + "' AND password = '" + password + "')");

alexanderlednik commented 4 years ago

Issue still exists.

SUMMARY

Issue has total 1 vulnerabilities left to be fix (Please scroll to the top for more information)