Skip to content

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

@kmcdon83

Description

@kmcdon83

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'");

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions