Skip to content
Threat Feed
high advisory

Stored XSS in WPForms Pro Plugin

WPForms Pro versions up to 2.0.0.2 are vulnerable to unauthenticated Stored Cross-Site Scripting via improper input sanitization in text fields.

CVE search metadata

CVE search record: CVE-2026-18409. Severity: high. CVSS: 7.2. KEV: no. Product: WPForms Pro. Brief: Stored XSS in WPForms Pro Plugin. Brief link: https://feed.craftedsignal.io/briefs/2026-08-wpforms-xss/

WPForms Pro, a widely used WordPress form-building plugin, contains a critical Stored Cross-Site Scripting (XSS) vulnerability in versions 2.0.0.2 and earlier. The flaw exists due to insufficient input sanitization and output escaping within the Single Line Text and Paragraph Text fields. An unauthenticated attacker can exploit this by submitting specially crafted input containing iframe elements.

The vulnerability is specifically enabled by the plugin's modification of the wp_kses_allowed_html filter. This modification widens the allowlist to permit iframe elements with a data-src attribute. Since data-src is not subject to standard WordPress URI-attribute sanitization, an attacker can store a javascript: URI. When a site administrator views the entry via the bundled view-entry.min.js script, the application promotes the data-src attribute to a live src attribute, resulting in the execution of arbitrary JavaScript in the context of the administrator's session.

Impact

Successful exploitation allows an unauthenticated attacker to inject malicious scripts into WordPress site entries. When an administrator views these entries, the script executes, potentially leading to unauthorized administrative actions, account takeover, or the exfiltration of sensitive site data. Given the ubiquity of form plugins, this affects a broad range of WordPress-powered websites.

Recommendation

  • Update WPForms Pro to a version beyond 2.0.0.2 immediately to receive the corrected sanitization logic.
  • Review administrative access logs for unusual patterns or activity originating from the plugin's entry view interface.
  • Audit existing form entries for anomalous iframe or script tags if the plugin cannot be updated immediately.

Immediate actions

Update WPForms Pro to a version beyond 2.0.0.2

IT Operations 24h

Mitigations

Upgrade plugin

immediate IT Operations

CVE-2026-18409