{
 "schema_version": "1.9.2",
 "id": "WPSEC-2026-4117",
 "modified": "2026-11-27T12:44:34Z",
 "published": "2026-11-27T12:44:34Z",
 "summary": "Upsell Funnel Builder for WooCommerce <= 3.1.7 - Reflected Cross-Site Scripting via 'ocuf_ns', 'ocuf_ok', 'ocuf_ofd' and 'ocuf_fid' Parameters",
 "details": "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.",
 "severity": [
  {
   "type": "CVSS_V3",
   "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
  }
 ],
 "affected": [
  {
   "package": {
    "ecosystem": "WordPress:Plugin",
    "name": "upsell-order-bump-offer-for-woocommerce"
   },
   "ranges": [
    {
     "type": "ECOSYSTEM",
     "events": [
      {
       "introduced": "3.0.0"
      },
      {
       "fixed": "3.1.8"
      }
     ]
    }
   ],
   "database_specific": {
    "affected_text": [
     "from 3.0.0 before 3.1.8"
    ]
   }
  }
 ],
 "references": [
  {
   "type": "ADVISORY",
   "url": "https://wpsec.com/vuln/WPSEC-2026-4117/"
  },
  {
   "type": "WEB",
   "url": "https://plugins.svn.wordpress.org/upsell-order-bump-offer-for-woocommerce/tags/3.1.8/"
  },
  {
   "type": "PACKAGE",
   "url": "https://wordpress.org/plugins/upsell-order-bump-offer-for-woocommerce/"
  }
 ],
 "database_specific": {
  "url": "https://wpsec.com/vuln/WPSEC-2026-4117/",
  "cwe_ids": [
   "CWE-79"
  ],
  "vulnerability_type": "XSS",
  "severity": "Medium",
  "license": {
   "name": "CC BY 4.0",
   "url": "https://creativecommons.org/licenses/by/4.0/"
  }
 }
}
