CVE-2025-4665 SQL injection in CFDB7
Unauthenticated attackers can exploit SQL injection to trigger PHP object injection, potentially leading to remote code execution or data exposure.
- 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-4665?
CVE-2025-4665 is a critical SQL injection vulnerability in WordPress Contact Form 7 Database Addon CFDB7 By Arshid CFDB7, published on 28 Oct 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
WordPress plugin Contact Form CFDB7 versions up to and including 1.3.2 are affected by a pre-authentication SQL injection vulnerability that cascades into insecure deserialization (PHP Object Injection). The weakness arises due to insufficient validation of user input in plugin endpoints, allowing crafted input to influence backend queries in unexpected ways. Using specially crafted payloads, this can escalate into unsafe deserialization, enabling arbitrary object injection in PHP. Although the issue is remotely exploitable without authentication, it does require a crafted interaction with the affected endpoint in order to trigger successfully.
Weakness: CWE-89
Which versions are affected by CVE-2025-4665?
How do I fix CVE-2025-4665?
No fix has been published for CVE-2025-4665 yet. Limit exposure of the affected software until one is available.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2025-4665 being exploited?
There is no known exploitation of CVE-2025-4665 in the wild and no public exploit code.
Sources
Also known as GHSA-mj35-jrmp-p9jm.