Skip to main content

Database for CF7 EUVDEUVD-2026-50198

| CVE-2026-13425 HIGH
Cross-site Scripting (XSS) (CWE-79)
2026-07-29 Wordfence GHSA-jqmh-vp8q-78mq
7.2
CVSS 3.1 · Vendor: Wordfence
View

Attack ChainAIDerived

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

  1. Access
    Identify site running Contact Form 7 with Database for CF7
  2. Delivery
    POST array-valued field with script to feedback REST endpoint
  3. Exploit
    Payload serialized and stored in wp_cf7db unsanitized
  4. Execution
    Admin opens submissions view
  5. Persist
    Script executes in admin browser context
  6. Impact
    Session 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
No patch listed yet 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – 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

Database for CF7 0 ≤1.2.6

Affected Packages

euvd database_for_cf7 no fix

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

Vendor (Wordfence) PRIMARY 7.2 HIGH
AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N
vuln.today AI 7.2 HIGH

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.

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

Primary rating from Vendor (Wordfence).

CVSS VectorVendor: Wordfence

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

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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.2%
Top 84% exploitable
Prevalence
Medium
add-on for widely-used Contact Form 7 but narrower install base
Data Quality
6 sources
Confidence: High

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 HIGH
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

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

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

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