CVE-2025-2485 Deserialization in Drag and Drop Multiple File Upload for Contact Form 7

High 7.5 Published Updated

Unauthenticated attackers can inject PHP objects via PHAR files in a WordPress plugin, potentially leading to arbitrary file deletion or code execution if a POP chain exists.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2025-2485?

CVE-2025-2485 is a high-severity unsafe deserialization vulnerability in glenwpcoder Drag and Drop Multiple File Upload for Contact Form 7, published on 28 Mar 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

The Drag and Drop Multiple File Upload for Contact Form 7 plugin for WordPress is vulnerable to PHP Object Injection in all versions up to, and including, 1.3.8.7 via deserialization of untrusted input from the 'dnd_upload_cf7_upload' function. This makes it possible for attackers to inject a PHP Object through a PHAR file. No known POP chain is present in the vulnerable software, which means this vulnerability has no impact unless another plugin or theme containing a POP chain is installed on the site. If a POP chain is present via an additional plugin or theme installed on the target system, it may allow the attacker to perform actions like delete arbitrary files, retrieve sensitive data, or execute code depending on the POP chain present. This vulnerability may be exploited by unauthenticated attackers when a form is present on the site with the file upload action. The Flamingo plugin must be installed and activated in order to exploit the vulnerability. The vulnerability was partially patched in version 1.3.8.8.

Weakness: CWE-502

Which versions are affected by CVE-2025-2485?

It affects 1 product.

Products include Codedropz Drag and Drop Multiple File Upload - Contact Form 7.

How do I fix CVE-2025-2485?

Apply the vendor's patch.

Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.

Is CVE-2025-2485 being exploited?

There is no known exploitation of CVE-2025-2485 in the wild and no public exploit code.

Sources

Also known as BELL-CVE-2025-2485, GHSA-qv6w-444m-m6w6.

Is CVE-2025-2485 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free