# CartFlows – Funnel Builder & Checkout Plugin for WooCommerce <= 3.3.4 - Authenticated (Custom+) DOM-Based Stored Cross-Site Scripting via Checkout Field Labels

- **ID:** WPSEC-2026-4478
- **Plugin:** CartFlows – Funnel Builder & Checkout Plugin for WooCommerce (`cartflows`), https://wordpress.org/plugins/cartflows/
- **Affected versions:** all versions before 3.4.0
- **Fixed in:** 3.4.0 (Update to 3.4.0 or later.)
- **Severity:** Medium 5.4 (CVSS:3.1/AV:N/AC:L/PR:L/UI:R/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-03)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/cartflows
- **Fix released:** 2026-12-02
- **Published:** 2026-12-03
- **URL:** https://wpsec.com/vuln/WPSEC-2026-4478/

## Description

The CartFlows plugin for WordPress is vulnerable to DOM-Based Stored Cross-Site Scripting via checkout field labels in all versions up to, and including, 3.3.4, due to the checkout field validation script reading the label's decoded text and concatenating it into HTML when it renders the required-field error. Labels are saved with wp_kses_post(), which keeps HTML-encoded markup that the script then turns into live markup. This makes it possible for authenticated attackers whose role an administrator has given CartFlows funnel and step access, to inject arbitrary web scripts that execute on the checkout page when a visitor or administrator leaves a required field empty while field validation is enabled.

## References

- https://wpsec.com/vuln/WPSEC-2026-4478/
- https://plugins.svn.wordpress.org/cartflows/tags/3.4.0/
- https://wordpress.org/plugins/cartflows/

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

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.
