CVE-2026-46426
HighSummary
Budibase is an open-source low-code platform. Prior to version 3.38.2, the file upload endpoint POST /api/attachments/process does not enforce active-content restrictions for authenticated users, allowing authenticated builders to upload dangerous files.
Risk Assessment
The risk involves the potential for injecting malicious JavaScript code into the application, leading to persistent XSS for all application end users. This could result in data theft or session hijacking.
Recommendation
It is recommended to upgrade to version 3.38.2 or later to mitigate this vulnerability. Additionally, implementing further security checks on file uploads is advisable.
Original NVD description (English source)
Budibase is an open-source low-code platform. Prior to 3.38.2, the file upload endpoint POST /api/attachments/process does not enforce active-content restrictions for authenticated users. The checks for dangerous file extensions are conditionally wrapped inside if (isPublicUser) or if (isPublicUser || !env.SELF_HOSTED), meaning any authenticated builder can upload executable web content — SVG files with inline <script> tags, HTML pages with JavaScript, .js modules — which are then stored in the object store (MinIO/S3) with their correct MIME types. When the resulting signed URL is opened by any app user, the browser executes the payload. Impact is persistent stored XSS over all application end users. This vulnerability is fixed in 3.38.2.

