Auth bypass in Woocommerce Square

CVE-2025-13457

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.

Vulnerability class: IDOR (Insecure Direct Object Reference)

EPSS: 0.003 (17.3th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2025-13457?
CVE-2025-13457 is a high-severity vulnerability in Woocommerce Square, classified under Authorization Bypass Through User-Controlled Key. CVSS score: 7.5/10. Published 2026-01-10.
How severe is CVE-2025-13457?
High severity. CVSS v3 base score is 7.5 out of 10.