{
 "id": "WPSEC-2026-1340",
 "url": "https://wpsec.com/vuln/WPSEC-2026-1340/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-1340/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-1340/index.md",
 "title": "PayPlug for WooCommerce (Official) <= 3.1.0 - Unauthenticated Insecure Direct Object Reference to Arbitrary Order Deletion and Modification via Apple Pay AJAX Actions",
 "description": "The PayPlug for WooCommerce (Official) plugin for WordPress is vulnerable to Insecure Direct Object Reference via the Apple Pay AJAX actions (applepay_cancel_order, update_applepay_order and update_applepay_payment) in all versions up to, and including, 3.1.0, due to missing validation that the user-supplied order_id belongs to the current customer session and trusting the client-supplied payment amount. This makes it possible for unauthenticated attackers to permanently delete arbitrary orders and abort their payments, alter the billing email, addresses, shipping and totals of other customers' orders, and update Apple Pay payments with an amount of their choosing.",
 "plugin": {
  "slug": "payplug",
  "name": "PayPlug for WooCommerce (Official)",
  "full_name": "PayPlug for WooCommerce (Official)",
  "wordpress_org": "https://wordpress.org/plugins/payplug/",
  "advisories_url": "https://wpsec.com/vuln/plugin/payplug/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/payplug"
 },
 "type": "IDOR",
 "cwe": [
  "CWE-639"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 7.5,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N",
  "severity": "High"
 },
 "affected": {
  "ranges": [
   {
    "from": "2.8.0",
    "from_inclusive": true,
    "to": "3.1.1",
    "to_inclusive": false
   }
  ],
  "text": [
   "from 2.8.0 before 3.1.1"
  ]
 },
 "introduced_in": "2.8.0",
 "fixed_in": "3.1.1",
 "remediation": "Update to 3.1.1 or later.",
 "fix_released": "2026-10-20T12:31:42+00:00",
 "published": "2026-10-21T12:44:50+00:00",
 "updated": "2026-10-21T10:35:23.978590+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-1340/",
  "https://plugins.svn.wordpress.org/payplug/tags/3.1.1/",
  "https://wordpress.org/plugins/payplug/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/payplug",
 "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-10-21"
 }
}