Skip to content

CX Privacy_Violation @ src/main/java/org/cysecurity/cspf/jvl/controller/XPathQuery.java [refs/heads/master] #188

Open

Description

@github-actions

Privacy_Violation issue exists @ src/main/java/org/cysecurity/cspf/jvl/controller/XPathQuery.java in branch refs/heads/master

Method processRequest at line 50 of src\main\java\org\cysecurity\cspf\jvl\controller\XPathQuery.java sends user information outside the application. This may constitute a Privacy Violation.

Severity: Medium

CWE:359

Vulnerability details and guidance

Checkmarx

Training
Recommended Fix

Lines: 50


Code (Line #50):

            String xPression="/users/user[username='"+user+"' and password='"+pass+"']/name";

Activity

  1. github-actions commented on Mar 14, 2022

    @github-actions
    Author

    Issue still exists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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