{
 "id": "WPSEC-2026-4157",
 "url": "https://wpsec.com/vuln/WPSEC-2026-4157/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-4157/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-4157/index.md",
 "osv_url": "https://wpsec.com/vuln/osv/WPSEC-2026-4157.json",
 "title": "PiWeb Disable payment method / Partial payment for WooCommerce <= 1.1.10.13 - Unauthenticated Insecure Direct Object Reference to Order Key Exposure and Order Fee/Payment Method Modification",
 "description": "The PiWeb Disable payment method / Partial payment for WooCommerce plugin for WordPress is vulnerable to Insecure Direct Object Reference via the order-pay page script and the 'update_fees' wc-ajax action in all versions up to, and including, 1.1.10.13, due to the orderPayScript() function printing the order's secret order key and an update nonce into any order-pay page for the order ID in the URL without checking that the request carries the matching order key. The update handler accepts that order key as proof of ownership. This makes it possible for unauthenticated attackers to obtain the order key of arbitrary orders by enumerating order IDs. They can then change those orders' payment method and payment method title, and remove or recalculate the plugin's fees, even on orders that are already paid. The order key also grants access to order details that WooCommerce protects with it.",
 "plugin": {
  "slug": "disable-payment-method-for-woocommerce",
  "name": "PiWeb Disable payment method / Partial payment for WooCommerce",
  "full_name": "PiWeb Disable payment method / Partial payment for WooCommerce",
  "wordpress_org": "https://wordpress.org/plugins/disable-payment-method-for-woocommerce/",
  "advisories_url": "https://wpsec.com/vuln/plugin/disable-payment-method-for-woocommerce/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/disable-payment-method-for-woocommerce"
 },
 "type": "IDOR",
 "cwe": [
  "CWE-639"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 6.5,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N",
  "severity": "Medium"
 },
 "affected": {
  "ranges": [
   {
    "from": "1.1.10.9",
    "from_inclusive": true,
    "to": "1.1.10.14",
    "to_inclusive": false
   }
  ],
  "text": [
   "from 1.1.10.9 before 1.1.10.14"
  ]
 },
 "introduced_in": "1.1.10.9",
 "fixed_in": "1.1.10.14",
 "remediation": "Update to 1.1.10.14 or later.",
 "fix_released": "2026-11-27T04:56:43+00:00",
 "published": "2026-11-28T05:43:38+00:00",
 "updated": "2026-11-27T10:18:38.804438+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-4157/",
  "https://plugins.svn.wordpress.org/disable-payment-method-for-woocommerce/tags/1.1.10.14/",
  "https://wordpress.org/plugins/disable-payment-method-for-woocommerce/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/disable-payment-method-for-woocommerce",
 "source": "WPSec",
 "license": {
  "name": "CC BY 4.0",
  "url": "https://creativecommons.org/licenses/by/4.0/"
 },
 "usage": {
  "plugin": "Low",
  "affected_versions": "Low",
  "as_of": "2026-11-28"
 }
}