{
 "id": "WPSEC-2026-1339",
 "url": "https://wpsec.com/vuln/WPSEC-2026-1339/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-1339/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-1339/index.md",
 "title": "PayPlug for WooCommerce (Official) <= 3.1.0 - Unauthenticated Insecure Direct Object Reference to Order Status Modification via check_payment and create_payment_intent",
 "description": "The PayPlug for WooCommerce (Official) plugin for WordPress is vulnerable to Insecure Direct Object Reference via the check_payment, applepay_update_payment and create_payment_intent AJAX actions in all versions up to, and including, 3.1.0 due to missing validation that the order referenced by the supplied payment_id or order_id belongs to the current customer session. This makes it possible for unauthenticated attackers to mark other customers' orders as failed, obtain order and payment URLs, update payments of other orders, and create payment intents for arbitrary orders.",
 "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": 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": null,
    "from_inclusive": true,
    "to": "3.1.1",
    "to_inclusive": false
   }
  ],
  "text": [
   "all versions before 3.1.1"
  ]
 },
 "introduced_in": null,
 "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-1339/",
  "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"
 }
}