Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain or compromise contributor-level WordPress account
-
DeliveryInject XSS payload into cf7anyapi_form_field post meta
-
ExploitPayload stored in WordPress database without sanitization
-
ExecutionAdministrator or privileged user loads page rendering injected meta
-
PersistMalicious script executes in victim's browser context
-
ImpactAttacker exfiltrates session token or performs privileged 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 an active, authenticated WordPress user account at contributor privilege level or higher on the target site - unauthenticated or subscriber-level access is insufficient. The attacker must be able to interact with the cf7anyapi_form_field post meta, which is controlled through the Contact Form to Any API plugin's admin interface. The plugin must be installed and active on the WordPress installation. Exploitation impact is further conditioned on a second user (typically an administrator) loading a page that renders the stored malicious meta value; without this viewer action, the payload remains dormant. Limiting factors include: the requirement for a valid contributor credential (raising the bar above unauthenticated mass exploitation), the need for a privileged victim to view the injected page, and the SSVC determination that the attack is not automatable, suggesting opportunistic mass scanning is unlikely. |
| Impact | CVSS 6.4 Medium is appropriate for this class of vulnerability. The AV:N/AC:L/PR:L metrics confirm the attack is network-reachable with low complexity, but PR:L (low privilege) establishes that the threat actor must already hold a valid WordPress contributor account - an important real-world barrier. The EPSS score of 0.19% (9th percentile) is notably low, meaning statistically fewer than 1 in 500 CVEs at this score level are exploited in practice within 30 days. SSVC corroborates this: exploitation status is 'none', the attack is flagged as not automatable (Automatable:no), and technical impact is only partial. Taken together, the signals consistently point to a theoretically exploitable but practically low-urgency flaw. The primary realistic threat vector is a malicious or compromised contributor account in a multi-author WordPress site - an insider or account-takeover scenario rather than opportunistic mass exploitation. No KEV listing and no reported POC further reduce urgency. This should be patched in the normal maintenance cycle rather than treated as an emergency. |
| Exploit ScenarioDerived | An attacker who has registered or compromised a contributor-level account on a target WordPress site navigates to the Contact Form to Any API plugin's settings or post-meta interface and injects a JavaScript payload into the cf7anyapi_form_field field. The payload is persisted to the database without sanitization. When a site administrator or authenticated user subsequently visits any page that renders the injected field, the script executes silently in their browser, potentially harvesting the administrator's session cookie and transmitting it to an attacker-controlled endpoint, enabling full site takeover. No POC has been publicly identified at the time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 30, 2026
Stored Cross-Site Scripting in the Contact Form to Any API WordPress plugin (versions ≤ 3.0.6) allows authenticated attackers holding contributor-level access or higher to inject persistent malicious scripts via the cf7anyapi_form_field post meta field. Any user who subsequently loads a page containing the injected content will silently execute the attacker's script within their browser session, potentially exposing session tokens or enabling unauthorized actions. No active exploitation is confirmed - CISA KEV status is absent, EPSS sits at the 9th percentile (0.19%), and SSVC classifies exploitation as 'none' - indicating this is a low-urgency but real risk for multi-author WordPress deployments.
RemediationAI
A code fix has been committed to the WordPress plugin repository as evidenced by the Trac changeset at https://plugins.trac.wordpress.org/changeset?reponame=&old=3624000%40contact-form-to-any-api&new=3624000%40contact-form-to-any-api; however, an exact patched release version number is not independently confirmed from the available data - consult the plugin's changelog on WordPress.org and update to any version released after 3.0.6. If immediate update is not possible, a compensating control is to restrict contributor-level role assignments to fully trusted users only, since the attack requires that privilege level; removing untrusted contributor accounts eliminates the attack surface. WordPress sites using a Web Application Firewall such as Wordfence (which disclosed this issue) may benefit from existing XSS ruleset coverage as a temporary compensating measure, though this should not substitute for patching. The Wordfence advisory at https://www.wordfence.com/threat-intel/vulnerabilities/id/1f5390b1-c85b-4bf6-ab38-6ae0efe72ffa should be monitored for updated patch confirmation.
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
CWE-79 (Improper Neutralization of Input During Web Page Generation) describes the root cause: user-supplied data written to the cf7anyapi_form_field WordPress post meta key is neither sanitized on input nor escaped on output. Three specific code paths in the plugin's admin class (class-cf7-to-any-api-admin.php at approximately lines 334, 519, and 604 per the WordPress Trac references) are implicated. The CVSS Scope:Changed metric reflects the fundamental nature of stored XSS - the vulnerable component (the plugin's admin backend) stores the payload, but impact materializes in a distinct security context (the victim's browser session), where attacker-controlled JavaScript executes under the victim's origin trust. This scope change is what elevates the score above a simple content-injection issue and is the mechanism by which an attacker can escalate privilege or pivot through administrative sessions.
Know when WordPress 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:L/UI:N/S:C/C:L/I:L/A:N
PR:L reflects mandatory contributor authentication; S:C and UI:N model stored XSS executing in any visiting user's browser without additional interaction.
Primary rating from Vendor (wordfence).
CVSS VectorVendor: wordfence
DescriptionCVE.org
The Contact Form to Any API plugin for WordPress is vulnerable to Stored Cross-Site Scripting via 'cf7anyapi_form_field' Post Meta in all versions up to, and including, 3.0.6 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with contributor-level access and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page.
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.
The mailSend function in the isMail transport in PHPMailer before 5.2.18 might allow remote attackers to pass extra para
The isMail transport in PHPMailer before 5.2.20 might allow remote attackers to pass extra parameters to the mail comman
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil
Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote
The GiveWP - Donation Plugin and Fundraising Platform plugin for WordPress is vulnerable to PHP Object Injection in all
The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner
The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint
The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut
The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via
The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based
Remote code execution in WordPress 6.9.x (before 6.9.5) and 7.0.x (before 7.0.2) arises from a REST API batch endpoint r
EUVD-2026-50094
GHSA-5j37-75mq-f752
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB