WordPress Plugin Vulnerabilities

Easy Digital Downloads < 3.6.8 - Cross-Site Request Forgery to Payment Account Hijacking via 'square_tokens' Parameter

Description

The Easy Digital Downloads plugin for WordPress is vulnerable to Cross-Site Request Forgery in all versions up to, and including, 3.6.7. This is due to missing nonce verification in the `handle_oauth_redirect()` function, which is registered on the `admin_init` hook and processes Square OAuth tokens from a user-supplied GET parameter without any CSRF token validation. This makes it possible for unauthenticated attackers to overwrite the store's Square payment gateway credentials by tricking a logged-in administrator into clicking a crafted link, potentially resulting in payment account hijacking.

Affects Plugins

References

Classification

Miscellaneous

Original Researcher
type5afe
Verified
No

Timeline

Publicly Published
2026-05-27 (about 4 months ago)
Added
2026-05-27 (about 4 months ago)
Last Updated
2026-05-28 (about 4 months ago)

Other