CVE-2026-18409

WPForms Pro <= 2.0.0.2 - Unauthenticated Stored Cross-Site Scripting via Single Line Text and Paragraph Text Field Values

Published Aug 21, 2026 CVSS 3.1 · 7.2 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

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

Remediation

No solution or workaround provided in the CVE record.

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 available
History
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Wordpress
Wordpress wordpress
Wpforms
Wpforms wpforms Pro
Vendors & Products Wordpress
Wordpress wordpress
Wpforms
Wpforms wpforms Pro
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'}

Weaknesses
  • CWE-79

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

Sources

Status
PUBLISHED
Assigner
Wordfence
Published
Updated
Aug 21, 2026, 3:26 PM
Reserved
Jul 30, 2026, 4:41 PM
Status
Deferred
Published
Aug 21, 2026, 4:18 AM
Modified
Oct 18, 2026, 8:10 PM