# FireBox <= 3.1.18 - Authenticated (Author+) Remote Code Execution via Campaign PHP Display Conditions

- **ID:** WPSEC-2026-4724
- **Plugin:** FireBox – WooCommerce Popup Builder, Exit Intent Popup, Email Optin & Cart Abandonment (`firebox`), https://wordpress.org/plugins/firebox/
- **Affected versions:** all versions before 3.1.19
- **Fixed in:** 3.1.19 (Update to 3.1.19 or later.)
- **Severity:** High 7.5 (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H)
- **Weakness:** CWE-94
- **Usage among sites WPSec scans:** plugin Low, affected versions Low (as of 2026-12-06)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/firebox
- **Fix released:** 2026-12-05
- **Published:** 2026-12-06
- **URL:** https://wpsec.com/vuln/WPSEC-2026-4724/

## Description

The FireBox plugin for WordPress is vulnerable to Remote Code Execution via campaign PHP display conditions in all versions up to, and including, 3.1.18, due to missing authorization checks on who writes PHP code into a campaign's display conditions. Whether the code runs depends only on whether the author of the displayed campaign holds the 'run PHP' (firebox_execute_php) permission, which administrators hold by default, and display conditions mirrored from another campaign are checked only against the mirroring campaign's author. This makes it possible for authenticated attackers with Author-level access and above to add PHP code to their own published campaign when a campaign created by an administrator mirrors its display conditions, and for attackers with Editor-level access and above who can edit other users' campaigns to add PHP code directly to a campaign created by an administrator (these roles receive campaign editing permissions on sites upgraded from versions before 3.1.10). That code then runs on the server, leading to remote code execution.

## References

- https://wpsec.com/vuln/WPSEC-2026-4724/
- https://plugins.svn.wordpress.org/firebox/tags/3.1.19/
- https://wordpress.org/plugins/firebox/

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

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.
