CVE-2025-13457
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| woocommerce | WooCommerce Square | 4.2.0 < 4.2.3 | affected |
| woocommerce | WooCommerce Square | 4.3.0 < 4.3.2 | affected |
| woocommerce | WooCommerce Square | 4.4.0 < 4.4.2 | affected |
| woocommerce | WooCommerce Square | 4.5.0 < 4.5.2 | affected |
| woocommerce | WooCommerce Square | 4.6.0 < 4.6.4 | affected |
| woocommerce | WooCommerce Square | 4.7.0 < 4.7.4 | affected |
| woocommerce | WooCommerce Square | 4.8.0 < 4.8.8 | affected |
| woocommerce | WooCommerce Square | 4.9.0 < 4.9.9 | affected |
| woocommerce | WooCommerce Square | 5.0.0 < 5.0.1 | affected |
| woocommerce | WooCommerce Square | 5.1.0 < 5.1.2 | affected |
Weaknesses
- CWE-639: CWE-639 Authorization Bypass Through User-Controlled Key
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: none
- Automatable: yes
- Technical Impact: partial
References
- https://www.wordfence.com/threat-intel/vulnerabilities/id/c7f4f726-7e53-4397-8d8b-7a574326adc6?source=cve
- https://plugins.trac.wordpress.org/changeset/3415850/woocommerce-square
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.