Skip to content
7.5 High

CVE-2025-13457 The WooCommerce Square plugin for WordPress is vulnerable to Insecure Direct Object Reference in all versions up to, and…

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.

Affected products and versions

Product Affected versions Fixed in
WooCommerce Square 5.1 5.1.0 → < 5.1.2 5.1.2
WooCommerce Square 5.0 5.0.0 → < 5.0.1 5.0.1
WooCommerce Square 4.9 4.9.0 → < 4.9.9 4.9.9
WooCommerce Square 4.8 4.8.0 → < 4.8.8 4.8.8
WooCommerce Square 4.7 4.7.0 → < 4.7.4 4.7.4
WooCommerce Square 4.6 4.6.0 → < 4.6.4 4.6.4
WooCommerce Square 4.5 4.5.0 → < 4.5.2 4.5.2
WooCommerce Square 4.4 4.4.0 → < 4.4.2 4.4.2
WooCommerce Square 4.3 4.3.0 → < 4.3.2 4.3.2
Show the other branch
Product Affected versions Fixed in
WooCommerce Square 4.2 4.2.0 → < 4.2.3 4.2.3
The 2 CVEs of WooCommerce Square →
Track this CVE