CVE-2026-15782: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in smub WPForms – AI Form Builder for WordPress – Contact Forms, Payment Forms, Survey Form, Quiz & More
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.
AI Analysis
Technical Summary
CVE-2026-15782 is a stored cross-site scripting vulnerability in the WPForms – AI Form Builder for WordPress plugin, specifically via the OptinMonster integration's data-sitekey attribute in post content. The flaw allows authenticated attackers with contributor-level privileges or higher to inject arbitrary scripts into pages. These scripts execute when users access the injected pages, potentially leading to information disclosure or session hijacking. Exploitation depends on the presence and configuration of the OptinMonster plugin with an active inline campaign that emits the 'om.Campaign.load' event, which triggers the vulnerable WPForms handler. The vulnerability is due to insufficient input sanitization and output escaping in all versions up to and including 2.0.0.1.
Potential Impact
Successful exploitation allows an authenticated user with contributor-level access or higher to inject and execute arbitrary JavaScript in the context of affected pages. This can lead to limited confidentiality and integrity impacts such as theft of user data or session tokens. The vulnerability does not impact availability. Exploitation requires specific conditions including the presence and configuration of the OptinMonster plugin with an active inline campaign.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict contributor-level access to trusted users and monitor for suspicious activity related to the OptinMonster integration. Consider disabling or removing the OptinMonster plugin or its inline campaigns if not required, as exploitation depends on its presence and configuration.
CVE-2026-15782: CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') in smub WPForms – AI Form Builder for WordPress – Contact Forms, Payment Forms, Survey Form, Quiz & More
Description
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.
CVSS v3.1
Score 4.9medium
Affected software
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-15782 is a stored cross-site scripting vulnerability in the WPForms – AI Form Builder for WordPress plugin, specifically via the OptinMonster integration's data-sitekey attribute in post content. The flaw allows authenticated attackers with contributor-level privileges or higher to inject arbitrary scripts into pages. These scripts execute when users access the injected pages, potentially leading to information disclosure or session hijacking. Exploitation depends on the presence and configuration of the OptinMonster plugin with an active inline campaign that emits the 'om.Campaign.load' event, which triggers the vulnerable WPForms handler. The vulnerability is due to insufficient input sanitization and output escaping in all versions up to and including 2.0.0.1.
Potential Impact
Successful exploitation allows an authenticated user with contributor-level access or higher to inject and execute arbitrary JavaScript in the context of affected pages. This can lead to limited confidentiality and integrity impacts such as theft of user data or session tokens. The vulnerability does not impact availability. Exploitation requires specific conditions including the presence and configuration of the OptinMonster plugin with an active inline campaign.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, restrict contributor-level access to trusted users and monitor for suspicious activity related to the OptinMonster integration. Consider disabling or removing the OptinMonster plugin or its inline campaigns if not required, as exploitation depends on its presence and configuration.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- Wordfence
- Date Reserved
- 2026-07-14T18:56:43.945Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a5f06c72a4a8d59899adb57
Added to database: 07/21/2026, 05:42:31 UTC
Last enriched: 07/21/2026, 05:57:13 UTC
Last updated: 07/21/2026, 21:17:52 UTC
Views: 12
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.