CVE-2026-15782
Received Received - Intake

Stored XSS in WPForms AI Form Builder WordPress Plugin via OptinMonster Integration

Vulnerability report for CVE-2026-15782, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-21

Last updated on: 2026-07-21

Assigner: Wordfence

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 Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-21
Last Modified
2026-07-21
Generated
2026-07-21
AI Q&A
2026-07-21
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
wpforms ai_form_builder to 2.0.0.1 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-79 The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a Stored Cross-Site Scripting (XSS) issue in the WPForms WordPress plugin. It allows authenticated attackers with contributor-level access or higher to inject malicious scripts into web pages via the OptinMonster Integration data-sitekey attribute. The scripts execute when users access the infected page, but only if the OptinMonster plugin is installed and running an active inline campaign with matching markup.

Detection Guidance

Check WordPress sites for the WPForms plugin versions up to 2.0.0.1. Inspect post content for injected scripts via the data-sitekey attribute in OptinMonster Integration. Review user roles with contributor access or higher for suspicious activity.

Impact Analysis

If exploited, this vulnerability could allow attackers to steal user session cookies, redirect users to malicious sites, or perform actions on their behalf. It requires contributor-level access to WordPress, so it primarily affects websites with multiple contributors. The impact depends on the injected script's purpose and the attacker's goals.

Compliance Impact

This vulnerability could lead to data breaches, compromising user data and violating privacy regulations like GDPR or HIPAA. If attackers inject scripts to steal personal data, organizations may face fines, legal action, and reputational damage due to non-compliance with data protection requirements.

Mitigation Strategies

Update the WPForms plugin to the latest version beyond 2.0.0.1. Remove or disable the OptinMonster plugin if not needed. Audit and restrict contributor-level user permissions. Scan posts and pages for malicious scripts in the data-sitekey attribute.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-15782. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart