Skip to main content

CF7 Database Plugin CVE-2026-12081

| EUVDEUVD-2026-43286 MEDIUM
2026-07-13 WPScan GHSA-qq2h-g46x-whfp
5.0
CVSS 3.1 · Vendor: WPScan
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Submit malicious serialized object via public form file-field
  2. Delivery
    Plugin stores unsanitized payload in WordPress database
  3. Exploit
    Attacker waits for administrator to review entries
  4. Execution
    Admin opens entry editor triggering deserialization
  5. Persist
    PHP instantiates attacker-controlled class via magic methods
  6. Impact
    Arbitrary code executes in WordPress server context

Vulnerability Assessment

Exploitation Conditions

The target site must be running the 'Database for Contact Form 7, WPforms, Elementor forms' plugin in a version prior to 1.5.2, with at least one publicly accessible form (Contact Form 7, WPForms, or Elementor Forms) configured to have submissions captured by the plugin. The specific vulnerable code path is the entry-editor file-field deserialization route - prior patches for CVE-2025-7384 and CVE-2026-2599 hardened other paths, so this condition is distinct. A site administrator must subsequently open the entry editor and view the stored submission for the payload to trigger (UI:R). The actual post-deserialization impact depends on the availability of usable PHP gadget chains contributed by other installed plugins or WordPress core; without a viable gadget chain, exploitation may be limited to denial of service or low-impact object manipulation. Exploitation is bounded by the requirement for admin interaction and the presence of exploitable gadget chains, neither of which is guaranteed.

Impact

The NVD CVSS 3.1 base score of 5.0 (Medium) with vector AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L accurately reflects the two-stage exploitation requirement: AC:H acknowledges that administrator interaction (UI:R) is necessary to trigger the stored payload, which is a genuine dependency outside attacker control. However, the C:L/I:L/A:L impact ratings may materially understate real-world risk - PHP object injection in WordPress environments often enables full remote code execution via gadget chains contributed by co-installed plugins or WordPress core libraries, and CVSS base metrics cannot account for this environmental escalation. A publicly available exploit exists (per WPScan), which elevates practical exploitation likelihood beyond what a Medium base score implies. EPSS data was not provided, so exploitation probability cannot be quantified from that signal. No CISA KEV listing is present, meaning confirmed active exploitation is not established at time of analysis. The AC:H rating should not cause defenders to deprioritize this: administrator review of form submissions is a routine, frequent action in sites using this plugin, making the UI:R trigger condition reliably achievable in practice.

Exploit ScenarioDerived

An unauthenticated attacker submits a contact form on the target WordPress site with a crafted serialized PHP object embedded in the file-field input; the plugin stores this value unsanitized in the database. When a site administrator subsequently opens the entry editor to review the submission - a routine administrative task - the plugin deserializes the stored file-field value, instantiating the attacker's PHP object and invoking its magic methods, which may execute arbitrary code server-side depending on gadget chains available in the WordPress installation. A publicly available exploit exists, lowering the skill threshold for this attack.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 13, 2026

PHP object injection in the 'Database for Contact Form 7, WPforms, Elementor forms' WordPress plugin (all versions before 1.5.2) permits unauthenticated attackers to embed malicious serialized PHP objects via the entry-editor file-field path, which are instantiated server-side when an administrator views the stored form entry. This is an incomplete remediation of two prior CVEs (CVE-2025-7384 and CVE-2026-2599) - earlier patches hardened other deserialization paths within the same plugin while this specific code route was overlooked. A publicly available exploit exists; no active exploitation is confirmed by CISA KEV at time of analysis.

RemediationAI

The primary fix is to update the 'Database for Contact Form 7, WPforms, Elementor forms' plugin to version 1.5.2 or later via the WordPress plugin repository; this is the vendor-released patch that closes the entry-editor file-field deserialization path. Sites that previously patched for CVE-2025-7384 or CVE-2026-2599 are still vulnerable and must apply this additional update. If immediate patching is not feasible, restrict the WordPress roles permitted to view stored form entries to the minimum necessary administrators, reducing the likelihood that an attacker-controlled payload will be triggered - note this does not eliminate the stored payload already in the database. Consider auditing recently stored form entries for anomalous binary or base64-encoded content in file-field values prior to any administrator review. The WPScan advisory at https://wpscan.com/vulnerability/91d0baf4-1052-4666-a28b-34689e06cbab/ should be consulted to verify patch completeness.

Affected VersionsENISA

Database for Contact Form 7, WPforms, Elementor forms 0 <1.5.2

Affected Packages

euvd database_for_contact_form_7_wpforms_elementor_forms fix: 1.5.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The affected plugin aggregates form submissions from Contact Form 7, WPForms, and Elementor Forms into a WordPress database table for administrator review. The root cause is PHP's native unserialize() function being called on attacker-supplied form data - specifically the file-field input in the entry editor - without restricting which PHP classes may be instantiated. When an arbitrary PHP object is injected and later deserialized, PHP automatically invokes magic methods (__wakeup, __destruct, __toString) on the resulting object, enabling arbitrary code paths to execute. This class of flaw maps to CWE-502 (Deserialization of Untrusted Data), though the CWE field in the source data is listed as N/A. Affected product is identified via CPE cpe:2.3:a:unknown:database_for_contact_form_7,_wpforms,_elementor_forms:*:*:*:*:*:*:*:*. Prior remediation attempts for the same deserialization surface in CVE-2025-7384 and CVE-2026-2599 demonstrate a pattern of piecemeal patching rather than a comprehensive audit of all deserialization paths.

Know when PHP gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (WPScan) PRIMARY 5.0 MEDIUM
AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L
vuln.today AI 5.0 MEDIUM

Network form submission is unauthenticated (AV:N, PR:N), but admin must view the stored entry to trigger deserialization (UI:R, AC:H); limited impact without a confirmed gadget chain (C:L/I:L/A:L).

3.1 AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L
4.0 AV:N/AC:L/AT:P/PR:N/UI:A/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (WPScan).

CVSS VectorVendor: WPScan

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
Low

Lifecycle Timeline

4
CVSS changed
Jul 13, 2026 - 19:07 NVD
5.0 (MEDIUM)
Patch available
Jul 13, 2026 - 08:01 EUVD
CVE Published
Jul 13, 2026 - 06:00 cve.org
MEDIUM 5.0
CVE Published
Jul 13, 2026 - 06:00 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.org

The Database for Contact Form 7, WPforms, Elementor forms WordPress plugin before 1.5.2 does not restrict the PHP classes allowed when unserializing an attacker-supplied form-field value, allowing unauthenticated users to inject arbitrary PHP objects that are instantiated when an administrator views the stored entry. This is an incomplete fix of CVE-2025-7384 and CVE-2026-2599, whose deserialization paths were hardened while the entry-editor file-field path was missed.

Threat Intelligence Overview

EPSS Score
0.2%
Top 95% exploitable
Prevalence
Medium
popular WordPress plugin for multi-form entry database storage
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
4 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

45
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +25
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Insecure deserialization occurs when an application converts serialized data (a stream of bytes representing an object's state) back into a living object without proper validation.

More in PHP

View all
CVE-2019-11043 CRITICAL POC
9.8 Oct 28

In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it

CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2018-11138 CRITICAL POC
9.8 May 31

The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy