diff --git a/orbit-app/src/components/DownloadFile.jsx b/orbit-app/src/components/DownloadFile.jsx
index 2bcc58f..b2118ee 100644
--- a/orbit-app/src/components/DownloadFile.jsx
+++ b/orbit-app/src/components/DownloadFile.jsx
@@ -27,7 +27,15 @@ function DownloadFile() {
setFileId(e.target.value)}
+(e) => {
+ const sanitizedValue = sanitizeInput(e.target.value); // FIX: Sanitize the input
+ setFileId(sanitizedValue);
+}
+
+function sanitizeInput(input) {
+ // Example sanitization function
+ return input.replace(/[^a-zA-Z0-9-_]/g, ''); // Allow only alphanumeric, dash, and underscore
+}
placeholder="Enter File ID"
/>