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 Improper_Restriction_of_XXE_Ref @ src/main/java/org/cysecurity/cspf/jvl/controller/xxe.java [refs/heads/master] #196

Open
github-actions bot opened this issue Mar 14, 2022 · 1 comment

Comments

@github-actions
Copy link

github-actions bot commented Mar 14, 2022

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();

@github-actions github-actions bot reopened this Mar 14, 2022
@github-actions
Copy link
Author

Issue still exists.

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

0 participants