CVE-2025-8289
Published: 20 August 2025
Summary
CVE-2025-8289 is a high-severity Deserialization of Untrusted Data (CWE-502) vulnerability. Its CVSS base score is 7.5 (High).
Operationally, ranked in the top 20.6% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.
Deeper analysis
The Redirection for Contact Form 7 plugin for WordPress is affected by a PHP Object Injection vulnerability in all versions through 3.2.4. The flaw stems from unsafe deserialization of untrusted input inside the delete_associated_files function, allowing an attacker to supply a serialized PHP object. Exploitation is possible only when PHP is version 8 or lower, a Contact Form 7 form with a file-upload action is present, and the separate “Redirection For Contact Form 7 Extension – Create Post” extension is also installed and active. No POP chain exists inside the vulnerable plugin itself.
An unauthenticated attacker who meets the above prerequisites can inject an arbitrary PHP object. When the Contact Form 7 plugin (a required dependency) is also present, a usable gadget chain permits deletion of arbitrary files; additional POP chains supplied by other plugins or themes could expand impact to data disclosure or code execution. The CVSS 3.1 score is 7.5 with a network attack vector, high complexity, and no required privileges or user interaction.
The supplied references point to the vulnerable code path in the plugin repository and to a Wordfence threat-intelligence entry; neither reference describes available patches or configuration work-arounds. The associated EPSS score remains flat at 0.0121 with no material increase after disclosure.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2025-28798
Vulnerability details
The Redirection for Contact Form 7 plugin for WordPress is vulnerable to PHP Object Injection in all versions up to, and including, 3.2.4 via deserialization of untrusted input in the delete_associated_files function. This makes it possible for unauthenticated attackers to…
more
inject a PHP Object. This vulnerability may be exploited by unauthenticated attackers when a form is present on the site with a file upload action, and doesn't affect sites with PHP version > 8. This vulnerability also requires the 'Redirection For Contact Form 7 Extension - Create Post' extension to be installed and activated in order to be exploited. 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. We confirmed there is a usable gadget in Contact Form 7 plugin that makes arbitrary file deletion possible when installed with this plugin. Given Contact Form 7 is a requirement of this plugin, it is likely that any site with this plugin and the 'Redirection For Contact Form 7 Extension - Create Post' extension enabled is vulnerable to arbitrary file deletion.
- CWE(s)
Related Threats
No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.
Affected Assets
Mitigating Controls
Likely Mitigating Controls AI
Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.
Penetration testing supplies malicious serialized objects, detecting unsafe deserialization and supporting corrective actions.
Evaluation of untrusted data handling (deserialization testing) reveals unsafe processing, which the required remediation process addresses.
Untrusted serialized data can be deserialized and observed inside the chamber, blocking gadget-chain exploitation outside the sandbox.
Validates or rejects untrusted serialized data before deserialization occurs.
Identifies and blocks malicious code introduced through deserialization of untrusted data at system boundaries.
Integrity verification of serialized information can detect tampering before deserialization occurs.
Provenance of associated data allows detection of untrusted sources before deserialization or processing occurs.