Woo Swish e-commerce <= 3.7.8 - Unauthenticated Authentication Bypass to Payment Service Credential Injection via Legacy OAuth Callback

Medium 6.5 CWE-287Fixed in 3.7.9
ID
WPSEC-2026-1266
Plugin
BjornTech Swish for WooCommerce (woo-swish-e-commerce)
Affected
all versions before 3.7.9
Remediation
Update to 3.7.9 or later.
CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:L
Weakness
CWE-287
Usage
Plugin Low · Affected versions Low among sites WPSec scans, 2026-10-20
Attack surface
Woo Swish e-commerce on WPSec AttackSurface
Fix released
Published

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.

References

Published by WPSec. Provided as is, without warranty. Corrections: contact us.

This advisory as JSON or Markdown · All advisories: JSON, RSS

License: CC BY 4.0