CVE-2025-13457
WooCommerce Square <= 5.1.1 - Unauthenticated Insecure Direct Object Reference to Sensitive Information Exposure in get_token_by_id
CVSS Score
7.5
EPSS Score
0.0%
EPSS Percentile
0th
The WooCommerce Square plugin for WordPress is vulnerable to Insecure Direct Object Reference in all versions up to, and including, 5.1.1 via the get_token_by_id function due to missing validation on a user controlled key. This makes it possible for unauthenticated attackers to expose arbitrary Square "ccof" (credit card on file) values and leverage this value to potentially make fraudulent charges on the target site.
| CWE | CWE-639 |
| Vendor | woocommerce |
| Product | woocommerce square |
| Published | Jan 10, 2026 |
| Last Updated | Jan 12, 2026 |
Stay Ahead of the Next One
Get instant alerts for woocommerce woocommerce square
Be the first to know when new high vulnerabilities affecting woocommerce woocommerce square are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability
Affected Versions
woocommerce / WooCommerce Square
4.2.0 < 4.2.3 4.3.0 < 4.3.2 4.4.0 < 4.4.2 4.5.0 < 4.5.2 4.6.0 < 4.6.4 4.7.0 < 4.7.4 4.8.0 < 4.8.8 4.9.0 < 4.9.9 5.0.0 < 5.0.1 5.1.0 < 5.1.2
References
Credits
German