{
 "id": "WPSEC-2026-1265",
 "url": "https://wpsec.com/vuln/WPSEC-2026-1265/",
 "json_url": "https://wpsec.com/vuln/WPSEC-2026-1265/advisory.json",
 "markdown_url": "https://wpsec.com/vuln/WPSEC-2026-1265/index.md",
 "title": "Woo Swish e-commerce <= 3.7.8 - Missing Authorization to Authenticated (Contributor+) Swish Service Connect and Disconnect",
 "description": "The BjornTech Swish for WooCommerce plugin for WordPress is vulnerable to unauthorized modification of data via the connect_swish_service and disconnect_swish_service AJAX actions in all versions up to, and including, 3.7.8. This is due to a missing capability check in the handlers, which only verified a nonce that the plugin prints on every wp-admin page. This makes it possible for authenticated attackers with contributor-level access and above to disconnect the store from the BjornTech Swish service, clearing the stored account UUID and refresh token. If they know the configured merchant number and e-mail address, they can also restart the service connection, which switches the connection type and replaces the account UUID. Either action disrupts the store's Swish payments.",
 "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": "NO AUTHORISATION",
 "cwe": [
  "CWE-862"
 ],
 "cve": [],
 "cvss": {
  "version": "3.1",
  "score": 5.4,
  "vector": "CVSS:3.1/AV:N/AC:L/PR:L/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-1265/",
  "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"
 }
}