Skip to content

CX Improper_Restriction_of_XXE_Ref @ src/main/java/org/cysecurity/cspf/jvl/controller/xxe.java [refs/heads/master] #196

Description

@github-actions

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

The processRequest loads and parses XML using parse, at line 48 of src\main\java\org\cysecurity\cspf\jvl\controller\xxe.java.
This XML was received earlier from user input, getInputStream, at line 44 of src\main\java\org\cysecurity\cspf\jvl\controller\xxe.java. Note that parse is set to automatically load and replace any DTD entity references in the XML, including references to external files.

Severity: Medium

CWE:611

Vulnerability details and guidance

Checkmarx

Training
Recommended Fix

Lines: 44


Code (Line #44):

          InputStream xml=request.getInputStream();

Activity

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