← back to popular plugins
wordfence / plugin · woocommerce-square

WooCommerce Square

woocommerce-square
total installs
80,000
total vulns
1
critical
0
high
1
medium
0
low
0
latest vuln
patched
1
unpatched
0
avg time to patch
vulnerabilities (1)
WooCommerce Square <= 5.1.1 - Unauthenticated Insecure Direct Object Reference to Sensitive Information Exposure in get_token_by_id
high ✓ patched
cvss score 7.5
cwe CWE-639: Authorization Bypass Through User-Controlled Key
published Jan 9, 2026
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.