{
 "id": "WPSEC-2026-1266",
 "url": "https://wpsec.com/vuln/WPSEC-2026-1266/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-1266/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-1266/index.md",
 "title": "Woo Swish e-commerce <= 3.7.8 - Unauthenticated Authentication Bypass to Payment Service Credential Injection via Legacy OAuth Callback",
 "description": "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.",
 "plugin": {
  "slug": "woo-swish-e-commerce",
  "name": "Woo Swish e-commerce",
  "full_name": "BjornTech Swish for WooCommerce",
  "wordpress_org": "https://wordpress.org/plugins/woo-swish-e-commerce/",
  "advisories_url": "https://wpsec.com/vuln/plugin/woo-swish-e-commerce/",
  "attacksurface": "https://attacksurface.wpsec.com/plugin/woo-swish-e-commerce"
 },
 "type": "AUTHBYPASS",
 "cwe": [
  "CWE-287"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 6.5,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L",
  "severity": "Medium"
 },
 "affected": {
  "ranges": [
   {
    "from": null,
    "from_inclusive": true,
    "to": "3.7.9",
    "to_inclusive": false
   }
  ],
  "text": [
   "all versions before 3.7.9"
  ]
 },
 "introduced_in": null,
 "fixed_in": "3.7.9",
 "remediation": "Update to 3.7.9 or later.",
 "fix_released": "2026-10-18T22:48:00+00:00",
 "published": "2026-10-20T10:08:26+00:00",
 "updated": "2026-10-20T09:12:51.024482+00:00",
 "also_published_as": null,
 "references": [
  "https://wpsec.com/vuln/WPSEC-2026-1266/",
  "https://plugins.svn.wordpress.org/woo-swish-e-commerce/tags/3.7.9/",
  "https://wordpress.org/plugins/woo-swish-e-commerce/"
 ],
 "attacksurface_url": "https://attacksurface.wpsec.com/plugin/woo-swish-e-commerce",
 "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-20"
 }
}