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
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Attain contributor WordPress account
  2. Delivery
    Inject malicious data-sitekey payload into post content
  3. Exploit
    Victim visits page with active OptinMonster inline campaign
  4. Execution
    OptinMonster fires om.Campaign.load event
  5. Persist
    WPForms handler processes unsanitized attribute
  6. Impact
    Injected script executes in victim browser session

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Output encoding, context-aware escaping
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Execution

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires: (1) the attacker holds at minimum contributor-level WordPress access, authenticated per CVSS PR:L; (2) the WPForms plugin version 2.0.0.1 or earlier is installed; (3) the OptinMonster plugin is separately installed and actively configured with an inline campaign that outputs #om-{id} markup on the target page - this is a hard dependency, as the WPForms vulnerable handler only fires when OptinMonster emits its 'om.Campaign.load' event; (4) a victim user must subsequently visit the injected page while that OptinMonster campaign is active. Exploitation is limited by: contributor-level authentication requirement (not anonymous), the mandatory co-presence of a correctly configured OptinMonster campaign (non-default, third-party plugin dependency), and the need for a victim to visit the affected page. Sites without OptinMonster installed are entirely unaffected regardless of WPForms version.

Impact

The CVSS base score of 4.9 (Medium) with vector AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N signals a real but constrained risk. AC:H correctly reflects the non-trivial attack preconditions: OptinMonster must be installed, actively configured with an inline campaign, and emitting #om-{id} markup on the same page - this is a dependency that materially limits the exposed attack surface. PR:L (contributor-level) is the minimum privilege, which on many WordPress sites is a low-privilege role available to external contributors or even registered users depending on site configuration. The UI:N assignment is notable and diverges from typical stored XSS classification, which usually carries UI:R because a victim must visit the injected page; this metric warrants independent verification against NVD scoring rationale. No EPSS data was provided, no CISA KEV listing exists, and no public exploit code has been identified - making this a low-urgency issue for sites that do not use OptinMonster, and a medium-priority patch for sites that do. The scope change (S:C) elevates the theoretical impact: a successful injection could enable session hijacking, credential theft, or admin account takeover if a privileged user visits the affected page.

Exploit ScenarioDerived

An attacker with contributor-level access to a WordPress site using both WPForms and OptinMonster logs in and edits a post or page, injecting a malicious data-sitekey attribute containing JavaScript into WPForms-related markup in the post content. When an administrator or authenticated user later visits that page - and OptinMonster fires its 'om.Campaign.load' event for an active inline campaign on the same page - the WPForms frontend handler processes the unsanitized attribute, causing the injected script to execute in the victim's browser session. No public exploit code has been identified, but the attack requires only standard browser tools and knowledge of the OptinMonster event trigger.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 21, 2026

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.

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.

Affected VersionsENISA

WPForms – AI Form Builder for WordPress – Contact Forms, Payment Forms, Survey Form, Quiz & More 0 ≤2.0.0.1

Affected Packages

euvd wpforms_ai_form_builder_for_wordpress_contact_forms_payment_forms_survey_form_quiz_more no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

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.

Know when Wordpress Plugin gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

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

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.

Threat Intelligence Overview

EPSS Score
0.2%
Top 92% exploitable
Prevalence
High
WPForms is one of the most-installed WordPress form plugins globally
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
High
Technical Impact
Partial

Priority Score

24
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +24
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

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-11749 CRITICAL POC
9.8 Nov 05

The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint

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

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