CVE-2025-8145 Redirection for Contact Form 7 <= 3.2.4 - Unauthenticated PHP Object Injection
Unauthenticated attackers can exploit PHP object injection to delete files or execute code via a POP chain in this WordPress plugin.
- 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
- None listed
What is CVE-2025-8145?
CVE-2025-8145 is a high-severity unsafe deserialization vulnerability in themeisle Redirection for Contact Form 7, published on 20 Aug 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 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
Weakness: CWE-502
Which versions are affected by CVE-2025-8145?
How do I fix CVE-2025-8145?
No fix has been published for CVE-2025-8145 yet. Limit exposure of the affected software until one is available.
Upgrade, and only deserialise data from trusted sources or with an allow-list of types. More about Unsafe deserialization.
Is CVE-2025-8145 being exploited?
There is no known exploitation of CVE-2025-8145 in the wild and no public exploit code.
Sources
Also known as GHSA-475r-f2r2-v34p.