Arbitrary file upload in NocoDB - CVE-2023-50717

 

Arbitrary file upload in NocoDB - CVE-2023-50717

Published: May 13, 2024 / Updated: April 27, 2026


Vulnerability identifier: #VU127973
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2023-50717
CWE-ID: CWE-434
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: nocodb
Affected software:
NocoDB

Detailed vulnerability 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.


How to mitigate CVE-2023-50717

Install security update from vendor's website.

Sources