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

possible vulnerability in Logger.js #2

Open
Zeyad-Elgendy opened this issue Dec 11, 2024 · 1 comment
Open

possible vulnerability in Logger.js #2

Zeyad-Elgendy opened this issue Dec 11, 2024 · 1 comment

Comments

@Zeyad-Elgendy
Copy link

In Logger.js file it does not do any sanity check for file-path, file or arg. Even though the file is not directly accessible from the client side, it's always a good practice to sanitize any inputs. If external input somehow was able to influence any of these variables, it could lead to command injection attacks.

@xizon
Copy link
Owner

xizon commented Dec 17, 2024

Thanks ! logger.js is just a demo, it is not used and it is not a full code. Need to update it?

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

2 participants