Description
The WPForms Pro plugin for WordPress is vulnerable to Stored Cross-Site Scripting via Single Line Text and Paragraph Text Field Values in all versions up to, and including, 2.0.0.2 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 exploit relies on the plugin's own wp_kses_allowed_html filter widening the 'post' allowlist to permit iframe elements with a data-src attribute, which is not on WordPress's URI-attribute sanitization list, allowing a javascript: URI stored in data-src to survive kses processing and subsequently be promoted to a live src attribute by the bundled admin script view-entry.min.js.
Published: 2026-08-21
Score: 7.2 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

WPForms Pro contains a stored cross‑site scripting vulnerability that allows unauthenticated attackers to inject malicious scripts into Single Line Text and Paragraph Text fields. The flaw stems from the plugin's wp_kses_allowed_html filter expanding WordPress's standard allowlist to include an iframe tag with a data‑src attribute, which bypasses URI filtering. When a JavaScript URI is stored in data‑src, it eventually becomes a live src attribute via the bundled admin script view‑entry.min.js, enabling arbitrary script execution for any user who views a form submission page.

Affected Systems

The vulnerability exists in all WPForms Pro releases up to and including version 2.0.0.2. Users running these versions on a WordPress site with forms that incorporate Single Line Text or Paragraph Text fields are affected.

Risk and Exploitability

With a CVSS score of 7.2, this is a medium‑to‑high severity issue that can be exploited without authentication. The EPSS score is not available and the vulnerability is not listed in CISA’s KEV catalog, but the path requires only submit a malicious form entry and any visitor to the entry page will execute the injected script, potentially compromising user credentials, session tokens, or defacing the site.

Generated by OpenCVE AI on August 21, 2026 at 05:46 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade WPForms Pro to the latest release (any version newer than 2.0.0.2) to remove the insecure wp_kses_allowed_html tweak.
  • Disable or delete any forms that contain Single Line Text or Paragraph Text fields until the plugin is updated, to prevent attackers from injecting payloads into live pages.
  • After upgrading, audit and remove any residual iframe usage from form entries and restore the default WordPress allowed‑tag list if it was modified.
  • If upgrading is not immediately possible, block the wp_kses_allowed_html filter via custom code or a security plugin that restricts iframe tags until a patch is applied.

Generated by OpenCVE AI on August 21, 2026 at 05:46 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 21 Aug 2026 05:45:00 +0000

Type Values Removed Values Added
First Time appeared Wordpress
Wordpress wordpress
Wpforms
Wpforms wpforms Pro
Vendors & Products Wordpress
Wordpress wordpress
Wpforms
Wpforms wpforms Pro

Fri, 21 Aug 2026 04:00:00 +0000

Type Values Removed Values Added
Description The WPForms Pro plugin for WordPress is vulnerable to Stored Cross-Site Scripting via Single Line Text and Paragraph Text Field Values in all versions up to, and including, 2.0.0.2 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 exploit relies on the plugin's own wp_kses_allowed_html filter widening the 'post' allowlist to permit iframe elements with a data-src attribute, which is not on WordPress's URI-attribute sanitization list, allowing a javascript: URI stored in data-src to survive kses processing and subsequently be promoted to a live src attribute by the bundled admin script view-entry.min.js.
Title WPForms Pro <= 2.0.0.2 - Unauthenticated Stored Cross-Site Scripting via Single Line Text and Paragraph Text Field Values
Weaknesses CWE-79
References
Metrics cvssV3_1

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


Subscriptions

Wordpress Wordpress
Wpforms Wpforms Pro
cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published:

Updated: 2026-08-21T03:37:48.332Z

Reserved: 2026-07-30T16:41:34.813Z

Link: CVE-2026-18409

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-21T04:18:01.380

Modified: 2026-08-21T04:18:01.380

Link: CVE-2026-18409

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-21T06:00:11Z

Weaknesses
  • CWE-79

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