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.
History

Mon, 12 Jan 2026 17:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 12 Jan 2026 14:45:00 +0000

Type Values Removed Values Added
First Time appeared Automattic
Automattic woocommerce Square
Woocommerce
Woocommerce woocommerce
Wordpress
Wordpress wordpress
Vendors & Products Automattic
Automattic woocommerce Square
Woocommerce
Woocommerce woocommerce
Wordpress
Wordpress wordpress

Sat, 10 Jan 2026 03:45:00 +0000

Type Values Removed Values Added
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.
Title WooCommerce Square <= 5.1.1 - Unauthenticated Insecure Direct Object Reference to Sensitive Information Exposure in get_token_by_id
Weaknesses CWE-639
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: Wordfence

Published: 2026-01-10T03:21:01.113Z

Updated: 2026-01-12T16:49:14.896Z

Reserved: 2025-11-19T20:13:41.577Z

Link: CVE-2025-13457

cve-icon Vulnrichment

Updated: 2026-01-12T16:49:12.409Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2026-01-10T04:15:59.540

Modified: 2026-01-13T14:03:18.990

Link: CVE-2025-13457

cve-icon Redhat

No data.