Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CX Stored_XSS @ src/main/webapp/admin/manageusers.jsp [master] #51

Open
kmcdon83 opened this issue Sep 14, 2019 · 0 comments
Open

CX Stored_XSS @ src/main/webapp/admin/manageusers.jsp [master] #51

kmcdon83 opened this issue Sep 14, 2019 · 0 comments

Comments

@kmcdon83
Copy link

Stored_XSS issue exists @ src/main/webapp/admin/manageusers.jsp in branch master

Method rs=stmt.executeQuery at line 19 of src\main\webapp\admin\manageusers.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.print at line 22 of src\main\webapp\admin\manageusers.jsp. This may enable a Stored Cross-Site-Scripting attack.

Severity: High
CWE:79
Vulnerability details and guidance
Internal Guidance
Checkmarx
Lines: 19


Code (Line #19):

 ResultSet rs=stmt.executeQuery("select * from users where privilege='user'");

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant