XSS in Smub Wpforms – Ai Form Builder For WordPress Contact Forms, Payment Survey Form, Quiz & More

CVE-2026-15782

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.

Vulnerability class: XSS (Cross-Site Scripting)

EPSS: 0.003 (21.1th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 4.9 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-15782?
CVE-2026-15782 is a medium-severity vulnerability in Smub Wpforms – Ai Form Builder For WordPress Contact Forms, Payment Survey Form, Quiz & More, classified under Cross-site Scripting. CVSS score: 4.9/10. Published 2026-07-21.
How severe is CVE-2026-15782?
Medium severity. CVSS v3 base score is 4.9 out of 10.