# Conditional Fields for Elementor Form – Apply Conditional Logic <= 1.7.8 - Authenticated (Contributor+) Stored Cross-Site Scripting via Atomic Form Conditional Logic

- **ID:** WPSEC-2026-3994
- **Plugin:** Conditional Fields for Elementor Form – Apply Conditional Logic (`conditional-fields-for-elementor-form`), https://wordpress.org/plugins/conditional-fields-for-elementor-form/
- **Affected versions:** from 1.7.0 before 1.7.9
- **Fixed in:** 1.7.9 (Update to 1.7.9 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 Medium, affected versions Medium (as of 2026-11-26)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/conditional-fields-for-elementor-form
- **Fix released:** 2026-11-25
- **Published:** 2026-11-26
- **URL:** https://wpsec.com/vuln/WPSEC-2026-3994/

## Description

The Conditional Fields for Elementor Form – Apply Conditional Logic plugin for WordPress is vulnerable to Stored Cross-Site Scripting via the atomic form field conditional logic setting (cfef_logic_repeater) in versions 1.7.0 up to, and including, 1.7.8. The setting is not validated and is printed raw into a template element. The front-end script decodes the stored JSON, which can carry markup hidden as \u003c escape sequences, and passes it back through jQuery's html(), which parses it as HTML. This makes it possible for authenticated attackers with contributor-level access and above, who can edit content with Elementor, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. Exploitation requires Elementor 4.0 or later and Elementor Pro (or PRO Elements) with the Atomic Elements and Atomic Form features active.

## References

- https://wpsec.com/vuln/WPSEC-2026-3994/
- https://plugins.svn.wordpress.org/conditional-fields-for-elementor-form/tags/1.7.9/
- https://wordpress.org/plugins/conditional-fields-for-elementor-form/

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

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.
