Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify site running Contact Form 7 with Database for CF7
-
DeliveryPOST array-valued field with script to feedback REST endpoint
-
ExploitPayload serialized and stored in wp_cf7db unsanitized
-
ExecutionAdmin opens submissions view
-
PersistScript executes in admin browser context
-
ImpactSession hijack or admin actions
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires that the target WordPress site runs Contact Form 7 together with the Database for CF7 plugin (<=1.2.6) with a form whose text fields can be submitted as arrays (e.g. your-name[]) through the public REST endpoint /wp-json/contact-form-7/v1/contact-forms/{id}/feedback; the endpoint must be reachable and the form ID valid. No authentication and no attacker-side user interaction are needed to inject (PR:N/UI:N), matching AV:N/AC:L. The key limiting factor is that the stored script executes only when a user - in practice an administrator reviewing captured submissions in the plugin's database view - accesses the injected page, so impact is gated on a privileged victim rendering the stored entry rather than being triggered at injection time. |
| Impact | The provided CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N, base 7.2) describes a network-reachable, low-complexity, unauthenticated attack with a scope change, consistent with unauthenticated stored XSS where the payload executes in a different security context (an admin or visitor browser) than the vulnerable server. EPSS score, SSVC decision data, and KEV status were not provided in the input, so exploitation probability and any active-exploitation signal cannot be quantified here. There is no indication of active exploitation and no public proof-of-concept was supplied, so this should be treated as a real but not emergency priority: the unauthenticated, no-user-interaction injection vector makes opportunistic exploitation plausible, but realized impact depends on a privileged user viewing the stored entries. Note a nuance: the payload injection requires no user interaction, but the malicious script only fires when a victim (typically a site administrator reviewing captured submissions) opens the affected page - a practical limiter not captured by the raw score. |
| Exploit ScenarioDerived | An unauthenticated attacker sends a crafted POST to the public Contact Form 7 feedback REST endpoint with a text field supplied as an array (e.g. your-name[]) whose element contains a JavaScript payload. The plugin serializes and stores the value directly in wp_cf7db without escaping, and when a site administrator later opens the submissions view, the script executes in their authenticated session, enabling actions such as cookie theft or admin-context requests. No public proof-of-concept was provided, but the low complexity and lack of authentication make the attack straightforward to reproduce. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 29, 2026
Stored cross-site scripting in the Database for CF7 WordPress plugin (all versions through 1.2.6) lets unauthenticated attackers persist arbitrary JavaScript that executes in the browser of any user who later views an affected page. The flaw is reachable through Contact Form 7's public REST feedback endpoint, which accepts array-structured field input that the plugin writes directly to its custom table without sanitization. No public exploit identified at time of analysis; issue reported by Wordfence and rated CVSS 7.2 with a scope change.
RemediationAI
No vendor-released patch identified at time of analysis - the supplied references point to Wordfence threat intelligence and to the plugin's trac source lines rather than a tagged fixed release, so no exact fix version can be cited. Until the vendor publishes a patched version above 1.2.6, the most reliable control is to deactivate and remove the Database for CF7 plugin, which stops the vulnerable storage/render path but disables persistence of form submissions. If the plugin must remain active, restrict or monitor the Contact Form 7 REST feedback endpoint (/wp-json/contact-form-7/v1/contact-forms/{id}/feedback) at the WAF or web-server layer to reject array-structured values for text fields and to filter script-bearing payloads, accepting that overly strict rules may break legitimate form submissions; deploy a WordPress security plugin (e.g. Wordfence) with XSS rules covering this issue; and avoid rendering stored submissions in privileged admin views until fixed. Monitor the Wordfence advisory (https://www.wordfence.com/threat-intel/vulnerabilities/id/07fda92e-a085-42c7-a16d-1eace1dee195?source=cve) for the patched release and upgrade promptly when available.
Affected VersionsENISA
Affected Packages
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 component is the Database for CF7 plugin (vendor code4life, CPE cpe:2.3:a:code4life:database_for_cf7), an add-on that captures and stores Contact Form 7 submissions in a custom wp_cf7db database table. The root cause is CWE-79 (improper neutralization of input during web page generation): the plugin ingests submission data via $wpdb->INSERT combined with serialize(), which deliberately bypasses the WordPress content-filtering path (wp_insert_post/wp_kses) that would normally sanitize stored content. Because Contact Form 7 accepts array-structured values for ordinary text fields (e.g. your-name[]) submitted to the REST API endpoint /wp-json/contact-form-7/v1/contact-forms/{id}/feedback, attacker-controlled array elements are stored verbatim and later rendered without output escaping. The referenced plugin source lines (database-for-cf7.php #L118 and #L236) correspond to the storage and rendering paths where sanitization and escaping are absent.
Know when Database For Cf7 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
AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
Unauthenticated network injection via public REST endpoint gives AV:N/AC:L/PR:N; payload runs in a different context (admin browser) giving S:C with low C/I, no availability impact.
Primary rating from Vendor (Wordfence).
CVSS VectorVendor: Wordfence
DescriptionCVE.org
The Database for CF7 plugin for WordPress is vulnerable to Stored Cross-Site Scripting via Array Form Field Values in all versions up to, and including, 1.2.6 due to insufficient input sanitization and output escaping. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This is exploitable by unauthenticated attackers because Contact Form 7 accepts array-structured input for ordinary text fields (e.g., your-name[]) via the public REST API endpoint /wp-json/contact-form-7/v1/contact-forms/{id}/feedback, and the plugin stores submitted data using $wpdb INSERT with serialize() into a custom wp_cf7db table, bypassing WordPress save-time filtering via wp_insert_post/wp_kses.
Executive ViewAI
The Database for CF7 WordPress plugin (versions through 1.2.6) contains a stored cross-site scripting vulnerability allowing unauthenticated attackers to inject malicious scripts that execute for all website visitors. Any organization using this plugin can be compromised without authentication, directly threatening visitor security, data confidentiality, and brand reputation. With no patch currently available, immediate interim mitigations are essential to protect your website users and maintain compliance posture.
No vendor-released patch identified at time of analysis. Interim mitigations include: (1) disable the plugin entirely until a patch is released; (2) if operational requirements mandate continued use, implement Web Application Firewall rules to filter malicious input to the Contact Form 7 REST endpoint (block script tags, event handlers, and encoded XSS variants); (3) deploy Content Security Policy headers to prevent inline script execution; (4) establish real-time monitoring and alerting on contact form submissions; and (5) conduct a database audit to identify and remove existing stored XSS payloads.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
EUVD-2026-50198
GHSA-jqmh-vp8q-78mq
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB