CVE-2025-13457
JSON

7.5high

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

Severity
7.5high CVSS:3.1 by Wordfence
Exploit likelihood
0.34% (higher than 30% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
Wordfence

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

Product or packageVersionsReported by
woocommerce WooCommerce Squarefrom 4.2.0 before 4.2.3, from 4.3.0 before 4.3.2, from 4.4.0 before 4.4.2, from 4.5.0 before 4.5.2, from 4.6.0 before 4.6.4, from 4.7.0 before 4.7.4, from 4.8.0 before 4.8.8, from 4.9.0 before 4.9.9 and 2 moreCVE List

Classification

CWE-639

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

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.

NVD (es)

El plugin WooCommerce Square para WordPress es vulnerable a Referencia Directa Insegura a Objeto en todas las versiones hasta e incluyendo la 5.1.1 a través de la función get_token_by_id debido a la falta de validación en una clave controlada por el usuario. Esto hace posible que atacantes no autenticados expongan valores 'ccof' (tarjeta de crédito archivada) arbitrarios de Square y aprovechen este valor para potencialmente realizar cargos fraudulentos en el sitio objetivo.

References

Sources

SourceRecordLicence
CVE ListCVE-2025-13457 changed 2026-01-12CVE Terms of Use
NVDCVE-2025-13457 changed 2026-06-17Public domain