Arbitrary file upload in NocoDB - CVE-2023-50717
Published: May 13, 2024 / Updated: April 27, 2026
NocoDB
nocodb
Description
The vulnerability allows a remote user to execute arbitrary JavaScript code in the context of the user viewing a uploaded file.
The vulnerability exists due to unrestricted upload of file with dangerous type in the attachment file upload and preview functionality when handling uploaded HTML files. A remote user can upload a specially crafted HTML file and cause script execution when a user opens the file in a browser to execute arbitrary JavaScript code in the context of the user viewing a uploaded file.
User interaction is required to open the crafted file in a browser.