{
 "schema_version": "1.9.2",
 "id": "WPSEC-2026-1266",
 "modified": "2026-11-23T07:06:33Z",
 "published": "2026-10-20T10:08:26Z",
 "summary": "Woo Swish e-commerce <= 3.7.8 - Unauthenticated Authentication Bypass to Payment Service Credential Injection via Legacy OAuth Callback",
 "details": "The BjornTech Swish for WooCommerce plugin for WordPress is vulnerable to Authentication Bypass via the swish_admin WooCommerce API callback (admin_handler) in all versions up to, and including, 3.7.8. This is due to the handler comparing the JSON-supplied nonce and account UUID against the stored connection nonce and account UUID with loose (==) comparisons. Boolean or empty JSON values pass these checks whether or not a connection is pending. This makes it possible for unauthenticated attackers to overwrite the stored BjornTech service refresh token with a value they choose. This can tamper with or break the site's Swish payment integration.",
 "severity": [
  {
   "type": "CVSS_V3",
   "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L"
  }
 ],
 "affected": [
  {
   "package": {
    "ecosystem": "WordPress:Plugin",
    "name": "woo-swish-e-commerce"
   },
   "ranges": [
    {
     "type": "ECOSYSTEM",
     "events": [
      {
       "introduced": "0"
      },
      {
       "fixed": "3.7.9"
      }
     ]
    }
   ],
   "database_specific": {
    "affected_text": [
     "all versions before 3.7.9"
    ]
   }
  }
 ],
 "references": [
  {
   "type": "ADVISORY",
   "url": "https://wpsec.com/vuln/WPSEC-2026-1266/"
  },
  {
   "type": "WEB",
   "url": "https://plugins.svn.wordpress.org/woo-swish-e-commerce/tags/3.7.9/"
  },
  {
   "type": "PACKAGE",
   "url": "https://wordpress.org/plugins/woo-swish-e-commerce/"
  }
 ],
 "database_specific": {
  "url": "https://wpsec.com/vuln/WPSEC-2026-1266/",
  "cwe_ids": [
   "CWE-287"
  ],
  "vulnerability_type": "AUTHBYPASS",
  "severity": "Medium",
  "license": {
   "name": "CC BY 4.0",
   "url": "https://creativecommons.org/licenses/by/4.0/"
  }
 }
}
