Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAttain contributor WordPress account
-
DeliveryInject malicious data-sitekey payload into post content
-
ExploitVictim visits page with active OptinMonster inline campaign
-
ExecutionOptinMonster fires om.Campaign.load event
-
PersistWPForms handler processes unsanitized attribute
-
ImpactInjected 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N
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.
Primary rating from Vendor (Wordfence).
CVSS VectorVendor: Wordfence
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
More in Wordpress Plugin
View allThe Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
The Hash Form - Drag & Drop Form Builder plugin for WordPress is vulnerable to arbitrary file uploads due to missing fil
Authentication bypass in the LiteSpeed Cache WordPress plugin (versions prior to 6.5.0.1) allows unauthenticated remote
The Simple File List plugin for WordPress through version 4.2.2 contains an unauthenticated remote code execution vulner
The AI Engine WordPress plugin through version 3.1.3 exposes Bearer Token values through the /mcp/v1/ REST API endpoint
The SureTriggers WordPress plugin through version 1.0.82 contains a privilege escalation vulnerability that allows unaut
The Ninja Forms plugin before 2.9.42.1 for WordPress allows remote attackers to conduct PHP object injection attacks via
The Business Directory Plugin - Easy Listing Directories for WordPress plugin for WordPress is vulnerable to time-based
SQL injection in the NotificationX WordPress plugin (versions up to and including 2.8.2) allows unauthenticated remote a
The POST SMTP Mailer - Email log, Delivery Failure Notifications and Best Mail SMTP for WordPress plugin for WordPress i
The MasterStudy LMS WordPress Plugin - for Online Courses and Education plugin for WordPress is vulnerable to union base
The Email Subscribers by Icegram Express plugin for WordPress is vulnerable to SQL Injection via the ‘hash’ parameter in
EUVD-2026-46155
GHSA-74qf-x6g6-4pr7
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB