Description
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.
References (2)
Core 2
Core References
Scores
CVSS v3
7.5
EPSS
0.0005
EPSS Percentile
15.0%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CISA SSVC
Vulnrichment
Exploitation
none
Automatable
yes
Technical Impact
partial
Details
CWE
CWE-639
Status
published
Products (10)
woocommerce/WooCommerce Square
4.2.0 - 4.2.3
woocommerce/WooCommerce Square
4.3.0 - 4.3.2
woocommerce/WooCommerce Square
4.4.0 - 4.4.2
woocommerce/WooCommerce Square
4.5.0 - 4.5.2
woocommerce/WooCommerce Square
4.6.0 - 4.6.4
woocommerce/WooCommerce Square
4.7.0 - 4.7.4
woocommerce/WooCommerce Square
4.8.0 - 4.8.8
woocommerce/WooCommerce Square
4.9.0 - 4.9.9
woocommerce/WooCommerce Square
5.0.0 - 5.0.1
woocommerce/WooCommerce Square
5.1.0 - 5.1.2
Published
Jan 10, 2026
Tracked Since
Feb 18, 2026