# Popup Builder <= 4.4.7 - Authenticated (Contributor+) Stored Cross-Site Scripting via 'event' Shortcode Attribute

- **ID:** WPSEC-2026-3827
- **Plugin:** Popup Builder – Create highly converting, mobile friendly marketing popups. (`popup-builder`), https://wordpress.org/plugins/popup-builder/
- **Affected versions:** all versions before 4.4.8
- **Fixed in:** 4.4.8 (Update to 4.4.8 or later.)
- **Severity:** Medium 6.4 (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N)
- **Weakness:** CWE-79
- **Usage among sites WPSec scans:** plugin High, affected versions High (as of 2026-11-24)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/popup-builder
- **Fix released:** 2026-11-24
- **Published:** 2026-11-25
- **URL:** https://wpsec.com/vuln/WPSEC-2026-3827/

## Description

The Popup Builder plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the 'event' attribute of the sg_popup shortcode in all versions up to, and including, 4.4.7, due to insufficient validation of the user-supplied event name. The value is stored as the popup's event, output in the popup's data-events attribute, and then run through eval() by the front-end script when popup events are dispatched. 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.

Also published later by another source as CVE-2026-112232.

## References

- https://wpsec.com/vuln/WPSEC-2026-3827/
- https://plugins.svn.wordpress.org/popup-builder/tags/4.4.8/
- https://wordpress.org/plugins/popup-builder/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-3827/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
