Vulnerability · Published Jan 10, 2026 · Assigned by Wordfence

CVE-2025-13457WooCommerce Square <= 5.1.1 - Unauthenticated Insecure Direct Object Reference to Sensitive Information Exposure in get_token_by_id

High 7.5

In plain English

A high-severity authorization bypass via user-controlled key in WooCommerce Square from woocommerce. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 28% of all known vulnerabilities).

Severity (CVSS 3.1)7.5High
Exploit odds (30 days)0.3%top 71.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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 (as reported)

VendorProductVersions
woocommerce WooCommerce Square 4.2.0 – before 4.2.34.3.0 – before 4.3.24.4.0 – before 4.4.24.5.0 – before 4.5.24.6.0 – before 4.6.44.7.0 – before 4.7.44.8.0 – before 4.8.84.9.0 – before 4.9.9

Weakness: CWE-639 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

References