# FireBox <= 3.1.18 - Authenticated (Editor+) Stored Cross-Site Scripting via Custom JavaScript

- **ID:** WPSEC-2026-4722
- **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:** Medium 4.4 (CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N)
- **Weakness:** CWE-79
- **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-4722/

## Description

The FireBox plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the campaign Custom JavaScript setting in all versions up to, and including, 3.1.18, due to a missing check on whether the user saving a campaign may add code: the script is output whenever the campaign's author holds unfiltered_html or firebox_execute_js, no matter who wrote it. This makes it possible for authenticated attackers with Editor-level access and above who can edit other users' campaigns to inject arbitrary scripts into a campaign created by an administrator. The scripts run whenever a user views a page where the campaign is displayed. This only affects multisite installations and installations where unfiltered_html has been disabled.

## References

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

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

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.
