Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft malicious CF7 field payload
-
DeliveryPOST to public REST feedback endpoint
-
ExploitPayload stored unsanitized in entry
-
ExecutionAdmin/user opens injected page
-
ImpactScript executes in victim's session
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 | Requires the Contact Form to Any API plugin (itpathsolutions/ITPath Solutions) version ≤ 3.0.7 active alongside Contact Form 7, with at least one CF7 form present. The payload is planted by an unauthenticated POST to Contact Form 7's public REST feedback endpoint, which uses permission_callback __return_true and therefore needs no authentication or prior interaction. The injected script does not execute at submission time: it is stored and only runs when a user or administrator subsequently loads the page that renders the unescaped field (per the references, the plugin's admin entries view at cf7-to-any-api-admin-entries.php). The practical limiting factor is this deferred execution - a privileged user must later view the injected entry for impact to occur - but no special non-default configuration is required beyond having the plugin installed and a working CF7 form. |
| Impact | This is a genuine, prioritizable web-application risk but not a drop-everything emergency. The supplied CVSS:3.1 vector (AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:N, 7.2 High) shows a network-reachable, low-complexity flaw that requires no privileges and no attacker-side user interaction, with a changed scope reflecting that injected script executes in a different security context (the victim's authenticated browser session). The decision label is 'this_week' (vuln.today), consistent with a serious-but-not-critical stored XSS rather than an act_now/emergency case. No EPSS score, no CISA KEV entry, and no confirmed proof-of-concept were provided in the input, so exploitation is not confirmed active and no public exploit is identified at time of analysis; the only linked PoC-adjacent material is the Wordfence advisory and WordPress plugin source/changeset references, which document the flaw rather than weaponize it. The stored (persistent) nature plus unauthenticated write access raise practical concern above a reflected XSS, because a single POST plants a payload that fires later against whoever views the injected page. No signals conflict here; the main uncertainty is deployment footprint and whether any exploitation is occurring in the wild, neither of which the data confirms. |
| Exploit ScenarioDerived | An unauthenticated attacker sends a single crafted POST to Contact Form 7's public REST feedback endpoint (permission_callback __return_true) targeting the 'your-message' or any CF7 form field, embedding a JavaScript payload. Because the Contact Form to Any API plugin stores and later renders this input without sufficient sanitization or output escaping, the script is persisted and executes when a site user or administrator opens the injected page (such as the plugin's entries view). No public exploit code is identified at time of analysis, but the attack needs no authentication, no prior interaction, and low complexity. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 21, 2026
Stored cross-site scripting in the WordPress plugin Contact Form to Any API affects every version up to and including 3.0.7 when it is active alongside Contact Form 7. An unauthenticated attacker can POST a crafted value to Contact Form 7's public REST feedback endpoint - which uses permission_callback __return_true and needs no authentication or prior interaction - and the plugin later renders that field without escaping, so the injected script executes when a user or administrator loads the affected page, most notably the plugin's admin entries view. The CVSS 3.1 vector is AV:N/AC:L/PR:N/UI:N/S:C with low confidentiality and integrity impact, and no public exploit code or CISA KEV entry is reported in the available intelligence; the practical constraint is that impact is deferred until a privileged user views the stored entry.
RemediationAI
The vendor has published a changeset for this plugin at https://plugins.trac.wordpress.org/changeset?reponame=&old=3811674%40contact-form-to-any-api&new=3811674%40contact-form-to-any-api, but the intelligence provided does not state an exact patched version number, so administrators should check the WordPress plugin directory for a release newer than 3.0.7 and confirm the fix on the Wordfence advisory at https://www.wordfence.com/threat-intel/vulnerabilities/id/3c0753da-2807-46d1-b002-d557e7f3bf13?source=cve before relying on it. Given the deferred execution model described in the assessment, impact requires a privileged user to later view the injected entry in the plugin's admin entries view, so restricting that view to trusted administrators and reviewing stored form entries for unexpected script content reduces exposure in the interim. If no patched release is confirmed, deactivating Contact Form to Any API until an update is verified removes the vulnerable rendering path, at the cost of losing its integration functionality, and access to the plugin's admin entries page should be limited accordingly with the caveat that this does not repair the underlying sanitization and escaping defects.
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 flaw is a CWE-79 cross-site scripting issue rooted in missing input sanitization and missing output escaping: values submitted through Contact Form 7 form fields (tracked as the 'your-message (any CF7 form field)' parameter) are persisted by Contact Form to Any API and later emitted into HTML without proper encoding. The affected code paths cited in the references are the admin entries partial (cf7-to-any-api-admin-entries.php line 115), the admin class (class-cf7-to-any-api-admin.php lines 640 and 759), and the core include (includes/class-cf7-to-any-api.php line 181) in tag 3.0.7. The injection vector is Contact Form 7's public REST feedback endpoint, whose permission_callback is __return_true, meaning submissions are accepted without authentication; the plugin then stores the attacker-controlled field. Execution is deferred rather than immediate at submission time: the script runs only when a user or administrator subsequently loads the page that renders the unescaped field. The scope-change component of the CVSS vector reflects that the injected script crosses the boundary from the unauthenticated submission context into the browser session of a viewing user, though the assessed impact remains low for confidentiality and integrity and none for availability. CPE data identifies the vulnerable package as cpe:2.3:a:itpathsolutions:contact_form_to_any_api with all versions affected through 3.0.7.
Know when Contact Form To Any Api 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 POST with no attacker-side interaction (PR:N/UI:N/AC:L); stored script runs in a different context (S:C) with limited confidentiality/integrity impact on the victim session and no availability impact.
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 the 'your-message (any CF7 form field)' parameter in all versions up to, and including, 3.0.7 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. The malicious payload is stored via a single unauthenticated POST to Contact Form 7's public REST feedback endpoint, which uses permission_callback __return_true and requires no authentication or prior interaction to submit.
Executive ViewAI
CVE-2026-131822 is a stored cross-site scripting vulnerability in the WordPress plugin Contact Form to Any API (up to version 3.0.7) that allows an unauthenticated attacker to inject malicious scripts into form submissions, which then execute when administrators view the entries page. This puts privileged users at risk of session hijacking, data theft, and full site compromise, potentially affecting the organization's brand, customer trust, and regulatory compliance.
Restrict access to the WordPress admin interface, enable a WAF to filter malicious input, and disable the vulnerable plugin if not strictly needed. Apply vendor patch when available.
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.
More in Contact Form To Any Api
View allFile enumeration and unauthorized download is possible in the Contact Form to Any API WordPress plugin (all versions bef
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') vulnerability in IT Path Solutions
The Contact Form to Any API plugin for WordPress is vulnerable to Stored Cross-Site Scripting via Contact Form 7 form fi
Unauthenticated reflected/stored cross-site scripting in the WordPress plugin Contact Form to Any API through version 3.
EUVD-2026-132025
GHSA-hc58-c2qw-mg6w
NVD
CVE.org
EPSS
Exploit-DB