Redirection for Contact Form 7 <= 3.2.4 - Unauthenticated PHP Object Injection
Strategic Overview
- Status
- Patched in 3.2.5
- Affected Plugin
- Redirection for Contact Form 7
- Affected Version
<= 3.2.4- CVSS
- 8.8High
- Weakness type
- CWE-502 · Deserialization of Untrusted Data
- CVE
CVE-2025-8145
At a glance
CVE-2025-8145 is a high-severity Deserialization of Untrusted Data vulnerability in the Redirection for Contact Form 7 WordPress plugin, affecting versions <= 3.2.4. It carries a CVSS score of 8.8 (reachable over the network; low attack complexity; high confidentiality, integrity, availability impact). Exploitation requires no authentication. The issue is fixed in version 3.2.5; sites on affected versions should update now. Disclosed August 2025, reported by Phat RiO.
Vulnerability Overview
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 get_lead_fields function. This makes it possible for unauthenticated attackers to inject a PHP Object. The additional presence of a POP chain in a Contact Form 7 plugin allows attackers to delete arbitrary files. Additionally, in certain server configurations, Remote Code Execution is possible
Technical Analysis
The vector marks this flaw as remotely reachable over the network, with low attack complexity — no special timing or configuration is needed, and no privileges on the target site. A successful exploit has high impact on confidentiality, integrity, availability — full site compromise territory.
CWE-502: Deserialization of Untrusted Data
Reaching this weakness in Redirection for Contact Form 7 <= 3.2.4 takes no account at all. Deserialization of untrusted data means the application reconstructs objects from input a caller controls, letting the attacker choose which classes get instantiated and what their properties hold.
A workable chain turns deserialization into file writes, deletions or code execution, depending on what the loaded classes do in their magic methods. For Redirection for Contact Form 7 the fix is 3.2.5: builds <= 3.2.4 are affected, anything from 3.2.5 onward is not.
Remediation
Update to version 3.2.5, or a newer patched version
How does WordSec protect against this?
Requests carrying this pattern arrive without a session, so nothing upstream of the firewall gets a chance to reject them: WordSec's web application firewall inspects request payloads before WordPress loads them. Classes like this one can leave something behind, so the staged malware scanner is the second half: it looks for dropped files and modified code rather than for the request that created them. None of that substitutes for the fix: Redirection for Contact Form 7 3.2.5 closes this, and updating the plugin is the step that ends it.
- Firewall
- Scanner
- Login Security
External References
Related records
Same weakness class
Other vulnerabilities in Redirection for Contact Form 7
- 8.8CVE-2025-8141: Redirection for Contact Form 7 Arbitrary File Deletion
CVE-2025-8141 - 8.1CVE-2025-14800: Redirection for Contact Form 7 Arbitrary File Copy
CVE-2025-14800 - 7.5CVE-2021-24278: Redirection for Contact… Arbitrary Nonce Generation
CVE-2021-24278 - 7.2CVE-2026-23970: Redirection for Contact Form 7 <= 3.2.8 Stored XSS
CVE-2026-23970 - 7.2CVE-2023-23990: Redirection for Contact Form 7 Privilege Escalation
CVE-2023-23990 - 6.5CVE-2026-80439: Redirection for Contact… Arbitrary Shortcode Execution
CVE-2026-80439 - 6.5CVE-2021-24279: Redirection for Contact… Arbitrary Plugin Installation
CVE-2021-24279 - 6.4CVE-2025-9562: Redirection for Contact Form 7 <= 3.2.6 Stored XSS
CVE-2025-9562
Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C