CVE-2026-15782 MEDIUM

CVE-2026-15782: WPForms <= 2.0.0.1 - Authenticated (Contributor+) Stored Cross-Site Scripting via OptinMonster Integration data-sitekey Attribute in Post Content

Vendor Smub
Product WPForms – AI Form Builder for WordPress – Contact Forms, Payment Forms, Survey Form, Quiz & More
Weakness CWE-79 · XSS
Published July 21, 2026
Last update July 21, 2026

CVSS base score

4.9/10
Attack vector Network
Attack complexity High
Privileges required Low
User interaction None
Confidentiality Low
Integrity Low

CVSS vector

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N

What the vulnerability does

01Description

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.

Explanation of Vulnerability in Simple Terms

02Summary

WPForms contains a stored cross-site scripting (XSS) vulnerability in versions up to 2.0.0.1. An authenticated attacker with low privileges can inject malicious scripts that execute in other users' browsers when they view affected content. The vulnerability has limited scope but can compromise user sessions and data. Update to a version newer than 2.0.0.1.

What an attacker can do

03Attacker Capabilities

Inject malicious scripts that run in other users' browsers when they interact with forms.

Potential impact on your site

04Site Impact

Authenticated users' sessions and data could be compromised if an attacker injects malicious form content.

Conditions required to exploit

05Prerequisites

Attacker must have a low-privilege WordPress account; no user interaction required from victims.

Key dates

06Disclosure timeline

July 21, 2026 CVE published
July 21, 2026 Record updated

Related vulnerabilities

08Related CVE