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 Reflected_XSS_All_Clients @ src/main/java/org/cysecurity/cspf/jvl/controller/AddPage.java [master] #41

Open
kmcdon83 opened this issue Sep 14, 2019 · 0 comments

Comments

@kmcdon83
Copy link

Reflected_XSS_All_Clients issue exists @ src/main/java/org/cysecurity/cspf/jvl/controller/AddPage.java in branch master

Method processRequest at line 34 of src\main\java\org\cysecurity\cspf\jvl\controller\AddPage.java gets user input for the ""filename"" 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 processRequest at line 34 of src\main\java\org\cysecurity\cspf\jvl\controller\AddPage.java. This may enable a Cross-Site-Scripting attack.

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


Code (Line #39):

           String fileName=request.getParameter("filename");

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

1 participant