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

- Severity: High 7.5 (CVSS:3.1, scored by Wordfence) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.34%, higher than 30% of CVEs (2026-12-01)
- Published: 2026-01-10T03:21:01.113Z
- Modified: 2026-06-17T08:34:11.130Z
- Weaknesses: CWE-639
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- woocommerce WooCommerce Square: from 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; from 5.0.0 before 5.0.1; from 5.1.0 before 5.1.2

## 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>

## Sources

- CVE List: [CVE-2025-13457](https://www.cve.org/CVERecord?id=CVE-2025-13457), CVE Terms of Use, modified 2026-01-12
- NVD: [CVE-2025-13457](https://nvd.nist.gov/vuln/detail/CVE-2025-13457), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-13457 · Whole record: https://cve.day/CVE-2025-13457.json · Rebuilt by cve.day 2026-11-25T22:59:10.488Z
