Skip to content

Fix: Unsanitized filename output in uploadController#11097

Open
3smithkumar wants to merge 1 commit into
SecureBananaLabs:mainfrom
3smithkumar:fix/upload-sanitize
Open

Fix: Unsanitized filename output in uploadController#11097
3smithkumar wants to merge 1 commit into
SecureBananaLabs:mainfrom
3smithkumar:fix/upload-sanitize

Conversation

@3smithkumar

Copy link
Copy Markdown

Fix

Closes #11096

Files: apps/api/src/controllers/uploadController.js
Severity: Medium

Description:
uploadFile() returns req.file.originalname directly without sanitization. This could expose path traversa...

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

Successfully merging this pull request may close these issues.

Fix: Unsanitized filename output in uploadController

1 participant