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 Unrestricted_File_Upload @ src/AddPage.java [master] #157

Open
satyamchaurasiapersistent opened this issue Aug 22, 2023 · 6 comments
Open

Comments

@satyamchaurasiapersistent
Copy link
Owner

satyamchaurasiapersistent commented Aug 22, 2023

Unrestricted_File_Upload issue exists @ src/AddPage.java in branch master

The uploaded file ""content"" in src\AddPage.java at line 40 is stored in src\AddPage.java at line 53 without validating the size of the file being saved.
Similarity ID: 1644874492

Severity: Low

CWE:434

Checkmarx

Training
Recommended Fix

Lines: 40


Code (Line #40):

String content=request.getParameter("content");

@satyamchaurasiapersistent
Copy link
Owner Author

Issue still exists.

5 similar comments
@satyamchaurasiapersistent
Copy link
Owner Author

Issue still exists.

@satyamchaurasiapersistent
Copy link
Owner Author

Issue still exists.

@satyamchaurasiapersistent
Copy link
Owner Author

Issue still exists.

@satyamchaurasiapersistent
Copy link
Owner Author

Issue still exists.

@satyamchaurasiapersistent
Copy link
Owner 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

1 participant