Skip to content

CX Reflected_XSS_All_Clients @ src/main/webapp/login.jsp [master] #48

@kmcdon83

Description

@kmcdon83

Reflected_XSS_All_Clients issue exists @ src/main/webapp/login.jsp in branch master

Method if at line 26 of src\main\webapp\login.jsp gets user input for the ""err"" element. This element’s value then flows through the code without being properly sanitized or validated and is eventually displayed to the user in method if at line 26 of src\main\webapp\login.jsp. This may enable a Cross-Site-Scripting attack.

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


Code (Line #7):

 Cookie[] cookies = request.getCookies();

Code (Line #26):

<tr><td></td><td class="fail"><% if(request.getParameter("err")!=null){out.print(request.getParameter("err"));} %></td></tr>

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