# Upsell Funnel Builder for WooCommerce <= 3.1.7 - Reflected Cross-Site Scripting via 'ocuf_ns', 'ocuf_ok', 'ocuf_ofd' and 'ocuf_fid' Parameters

- **ID:** WPSEC-2026-4117
- **Plugin:** Upsell Funnel Builder for WooCommerce – Create Upsells, Cross-Sells, Order Bumps, Frequently Bought, and Popups. (`upsell-order-bump-offer-for-woocommerce`), https://wordpress.org/plugins/upsell-order-bump-offer-for-woocommerce/
- **Affected versions:** from 3.0.0 before 3.1.8
- **Fixed in:** 3.1.8 (Update to 3.1.8 or later.)
- **Severity:** Medium 6.1 (CVSS:3.1/AV:N/AC:L/PR:N/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-11-27)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/upsell-order-bump-offer-for-woocommerce
- **Fix released:** 2026-11-26
- **Published:** 2026-11-27
- **URL:** https://wpsec.com/vuln/WPSEC-2026-4117/

## Description

The Upsell Funnel Builder for WooCommerce plugin for WordPress is vulnerable to Reflected Cross-Site Scripting via the 'ocuf_ns', 'ocuf_ok', 'ocuf_ofd' and 'ocuf_fid' parameters in all versions up to, and including, 3.1.7, due to insufficient output escaping in the upsell offer shortcodes, most notably the [wps_upsell_timer] shortcode, which prints the 'ocuf_ofd' value straight into an inline script. The live offer check only tests that 'ocuf_ns' is present, not that it is valid. This makes it possible for unauthenticated attackers to inject arbitrary web scripts in pages that execute if they can successfully trick a user into performing an action such as clicking on a link.

## References

- https://wpsec.com/vuln/WPSEC-2026-4117/
- https://plugins.svn.wordpress.org/upsell-order-bump-offer-for-woocommerce/tags/3.1.8/
- https://wordpress.org/plugins/upsell-order-bump-offer-for-woocommerce/

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

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.
