CVE Catalog

CVE-2026-18351

CriticalCVSS 9.8
Published: Translated: NVD NIST

Summary

The Drag and Drop File Upload for Elementor Forms plugin for WordPress is vulnerable to Arbitrary File Upload in all versions up to, and including, 1.6.0 via the elementor_file_upload function. This is due to insufficient file type validation in is_file_type_valid(), which uses the attacker-controlled 'type' parameter as regex keys in the MIME allowlist, allowing blacklist bypass. This makes it possible for unauthenticated attackers to upload executable files and achieve remote code execution.

Risk Assessment

An unauthenticated attacker can upload and execute arbitrary code on the WordPress server, leading to full site takeover. The risk is critical for any installation with the plugin enabled.

Recommendation

Update the Drag and Drop File Upload for Elementor Forms plugin to a version later than 1.6.0 or disable it. Consider auditing the uploads directory for suspicious PHP files.

Related vulnerabilities

Original NVD description (English source)

The Drag and Drop File Upload for Elementor Forms plugin for WordPress is vulnerable to Arbitrary File Upload in all versions up to, and including, 1.6.0 via the elementor_file_upload function. This is due to insufficient file type validation in the is_file_type_valid() function, which uses the attacker-controlled 'type' parameter as regex keys in the MIME allowlist, allowing blacklist bypass via a crafted extension that sanitize_file_name() later normalizes to a PHP extension. This makes it possible for unauthenticated attackers to upload files that may be executable, which makes remote code execution possible.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS