CVE-2025-6742 Deserialization in SureForms – Drag and Drop Form Builder for WordPress
Unauthenticated attackers can inject PHP objects via file path manipulation, potentially leading to code execution or data theft 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
- None listed
What is CVE-2025-6742?
CVE-2025-6742 is a high-severity unsafe deserialization vulnerability in brainstormforce SureForms – Drag and Drop Form Builder for WordPress, published on 9 Jul 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 SureForms – Drag and Drop Form Builder for WordPress plugin for WordPress is vulnerable to PHP Object Injection in all versions up to, and including, 1.7.3 via the use of file_exists() in the delete_entry_files() function without restriction on the path provided. This makes it possible for unauthenticated attackers to inject a PHP Object. 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.
Weakness: CWE-502
Which versions are affected by CVE-2025-6742?
It affects 1 product.
Products include Brainstormforce Sureforms.
How do I fix CVE-2025-6742?
No fix has been published for CVE-2025-6742 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-6742 being exploited?
There is no known exploitation of CVE-2025-6742 in the wild and no public exploit code.
Other vulnerabilities in brainstormforce SureForms – Drag and Drop Form Builder for WordPress
- CVE-2025-6691 Path traversal in SureForms – Drag and Drop Form Builder for WordPress
- CVE-2025-5921 SureForms < 1.7.2 - Reflected XSS
- CVE-2024-12713 Missing authorization in SureForms – Contact Form, Payment Form & Other Custom Form Builder
- CVE-2025-3471 SureForms < 1.4.4 - Contributor+ Settings Update
- CVE-2025-3513 SureForms < 1.4.4 - Admin+ Stored XSS
Sources
Also known as GHSA-cjv8-prw4-9v8g.