Skip to main content

WPForms CVE-2026-15782

| EUVDEUVD-2026-46155 MEDIUM
Cross-site Scripting (XSS) (CWE-79)
2026-07-21 Wordfence GHSA-74qf-x6g6-4pr7
4.9
CVSS 3.1 · Vendor: Wordfence
Share

Severity by source

Vendor (Wordfence) PRIMARY
4.9 MEDIUM
AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N
vuln.today AI
4.4 MEDIUM

AC:H for mandatory OptinMonster co-configuration; PR:L for contributor access; UI:R because a victim must visit the page to trigger script execution.

3.1 AV:N/AC:H/PR:L/UI:R/S:C/C:L/I:L/A:N
4.0 AV:N/AC:H/AT:P/PR:L/UI:P/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (Wordfence).

CVSS VectorVendor: Wordfence

Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

2
Analysis Generated
Jul 21, 2026 - 06:03 vuln.today
CVE Published
Jul 21, 2026 - 05:35 cve.org
MEDIUM 4.9

DescriptionCVE.org

The WPForms - AI Form Builder for WordPress - Contact Forms, Payment Forms, Survey Form, Quiz & More plugin for WordPress is vulnerable to Stored Cross-Site Scripting via OptinMonster Integration data-sitekey Attribute in Post Content in all versions up to, and including, 2.0.0.1 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. Exploitation requires the OptinMonster plugin to be installed and configured with an active inline campaign that outputs matching #om-{id} markup on the target page, as the WPForms handler only fires when OptinMonster emits its 'om.Campaign.load' event.

AnalysisAI

Stored Cross-Site Scripting in WPForms (AI Form Builder for WordPress) through version 2.0.0.1 allows contributor-level authenticated attackers to inject persistent malicious scripts into WordPress pages via an unsanitized data-sitekey attribute in the OptinMonster integration handler. Exploitation is constrained by a high-complexity attack condition: the target site must have OptinMonster installed, configured with an active inline campaign emitting matching #om-{id} markup, since WPForms only processes the vulnerable attribute when OptinMonster fires its 'om.Campaign.load' event. No public exploit code or CISA KEV listing has been identified at time of analysis. The CVSS-assigned scope change (S:C) reflects that injected scripts execute in victims' browser sessions, crossing the security boundary from the server-side WordPress context.

Technical ContextAI

WPForms is a widely-deployed WordPress form-building plugin (CPE: cpe:2.3:a:smub:wpforms_-_ai_form_builder_for_wordpress). The vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation) is rooted in the plugin's JavaScript frontend handler (assets/js/frontend/wpforms.min.js), which listens for the OptinMonster 'om.Campaign.load' event and processes a data-sitekey attribute from post content without adequate sanitization or output escaping. The attack vector is the integration bridge between WPForms and OptinMonster - an event-driven callback that trusts attacker-controlled markup in post content. The changeset at plugins.trac.wordpress.org/changeset/3610719 represents the upstream fix applied to wpforms-lite trunk, modifying the vulnerable JS file. Referenced tagged versions 1.10.0.4 and 1.10.2.1 in the Trac browser links appear to document the vulnerable code state for disclosure context.

RemediationAI

Update the WPForms plugin to a version released after 2.0.0.1; the upstream fix has been committed to the wpforms-lite trunk (changeset 3610719 at plugins.trac.wordpress.org), but a specific tagged release version for the patched build is not independently confirmed from the available references - monitor the official WordPress plugin repository and the Wordfence advisory at https://www.wordfence.com/threat-intel/vulnerabilities/id/6d5264a1-dabf-4630-9871-ab6e14817768 for the confirmed patch release. As an interim compensating control, sites that do not require the OptinMonster integration can deactivate the OptinMonster plugin entirely, which eliminates the 'om.Campaign.load' event trigger and prevents the WPForms handler from processing the vulnerable attribute - this is the most targeted and low-impact workaround. Alternatively, restrict contributor-level and above roles to trusted users only, reducing the pool of accounts capable of injecting malicious post content. Implementing a Content Security Policy (CSP) header that blocks inline script execution can reduce the impact of successful injection, though it does not prevent the stored payload from being written.

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

CVE-2024-5084 CRITICAL POC
9.8 May 23

The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil

CVE-2024-44000 CRITICAL POC
9.8 Oct 20

Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote

CVE-2020-36847 CRITICAL POC
9.8 Jul 12

The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner

CVE-2025-27007 CRITICAL POC
9.8 May 01

The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut

CVE-2016-1209 CRITICAL POC
9.8 May 14

The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via

CVE-2024-4443 CRITICAL POC
9.8 May 22

The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based

CVE-2024-1698 CRITICAL POC
9.8 Feb 27

SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a

CVE-2023-6875 CRITICAL POC
9.8 Jan 11

The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i

CVE-2024-1512 CRITICAL POC
9.8 Feb 17

The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base

CVE-2024-4295 CRITICAL POC
9.8 Jun 05

The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in

CVE-2024-50498 CRITICAL POC
10.0 Oct 28

Remote code execution in the WP Query Console WordPress plugin (versions up to and including 1.0) by Ajit Bohra allows u

Share

CVE-2026-15782 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy