Skip to main content

Contact Form to Any API CVE-2026-131822

| EUVDEUVD-2026-132025 HIGH
Cross-site Scripting (XSS) (CWE-79)
2026-11-21 Wordfence GHSA-hc58-c2qw-mg6w
7.2
CVSS 3.1 · Vendor: Wordfence
View

Attack ChainAIDerived

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

  1. Access
    Craft malicious CF7 field payload
  2. Delivery
    POST to public REST feedback endpoint
  3. Exploit
    Payload stored unsanitized in entry
  4. Execution
    Admin/user opens injected page
  5. Impact
    Script 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.

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

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

Alert me

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

Contact Form to Any API 0 ≤3.0.7

Affected Packages

euvd contact_form_to_any_api 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 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

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 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.

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:L/VI:L/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 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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.5%
Top 58% exploitable
Prevalence
Low
niche WordPress add-on bridging Contact Form 7 submissions to external APIs
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 HIGH
CISA KEV No
Public POC No
EPSS 0.5%
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· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

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