Description
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.
Published: 2026-07-29
Score: 6.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The Contact Form to Any API plugin for WordPress is vulnerable due to insufficient input sanitization and output escaping in the 'cf7anyapi_form_field' post meta. This flaw allows authenticated users with contributor-level access or higher to inject malicious web scripts that are stored within the plugin settings. When any site visitor loads a page that uses the injected data, the malicious script executes, enabling an attacker to tamper with the user experience, steal session data, or redirect to phishing sites.

Affected Systems

Any WordPress installation running itpathsolutions’ Contact Form to Any API plugin version 3.0.6 or earlier is impacted. The vulnerability stems from the plugin’s handling of form field metadata during configuration, and all prior releases carry the same flaw.

Risk and Exploitability

The vulnerability carries a CVSS score of 6.4, indicating moderate severity. Its EPSS score is below 1%, suggesting a low probability of active exploitation at this time, and it is not listed in the CISA KEV catalog. The attack requires the attacker to be authenticated with contributor-level or higher privileges. Once the malicious input is stored, any visitor to the affected pages will be exposed to the injected script, causing potential data theft and defacement. The risk is amplified on sites that rely heavily on user engagement or store sensitive user data.

Generated by OpenCVE AI on August 3, 2026 at 14:02 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Contact Form to Any API to the latest available release, which contains proper input sanitization and output escaping for the 'cf7anyapi_form_field' metadata.
  • If upgrading is not immediately possible, remove contributor and higher role access from the ability to edit the plugin’s form fields, or temporarily deactivate the plugin altogether.
  • Deploy a strict Content Security Policy that blocks inline script execution, reducing the impact of any stored scripts until a permanent patch is applied.

Generated by OpenCVE AI on August 3, 2026 at 14:02 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 29 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 29 Jul 2026 03:45:00 +0000

Type Values Removed Values Added
First Time appeared Itpathsolutions
Itpathsolutions contact Form To Any Api
Wordpress
Wordpress wordpress
Vendors & Products Itpathsolutions
Itpathsolutions contact Form To Any Api
Wordpress
Wordpress wordpress

Wed, 29 Jul 2026 02:15:00 +0000

Type Values Removed Values Added
Description 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.
Title Contact Form to Any API <= 3.0.6 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'cf7anyapi_form_field' Post Meta
Weaknesses CWE-79
References
Metrics cvssV3_1

{'score': 6.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N'}


Subscriptions

Itpathsolutions Contact Form To Any Api
Wordpress Wordpress
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-07-29T14:22:10.309Z

Reserved: 2026-07-14T13:56:10.612Z

Link: CVE-2026-15735

cve-icon Vulnrichment

Updated: 2026-07-29T14:22:03.333Z

cve-icon NVD

Status : Deferred

Published: 2026-07-29T02:16:43.183

Modified: 2026-07-30T14:01:30.413

Link: CVE-2026-15735

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-03T14:15:05Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')