CVE-2025-13457

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

HIGH
7.5
CVSS Score
Published: January 10, 2026 at 03:21 AM UTC
Updated: June 17, 2026 at 08:34 AM UTC
1 product affected across 1 vendorWooCommerce Square

Using WooCommerce Square by woocommerce?

Get instant alerts when new vulnerabilities affect WooCommerce Square - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.5
Exploit prediction
EPSS 0.3%
SSVC
No known exploit

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

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

4.2.0 ≤ v < 4.2.34.3.0 ≤ v < 4.3.24.4.0 ≤ v < 4.4.24.5.0 ≤ v < 4.5.24.6.0 ≤ v < 4.6.44.7.0 ≤ v < 4.7.44.8.0 ≤ v < 4.8.84.9.0 ≤ v < 4.9.95.0.0 ≤ v < 5.0.15.1.0 ≤ v < 5.1.24.2.04.3.04.4.04.5.04.6.04.7.04.8.04.9.05.0.05.1.0
Affected range stops below 4.2.3, so it looks safe — our inference, not a vendor statement
Affected range stops below 4.3.2, so it looks safe — our inference, not a vendor statement
Affected range stops below 4.4.2, so it looks safe — our inference, not a vendor statement
Affected range stops below 4.5.2, so it looks safe — our inference, not a vendor statement
Affected range stops below 4.6.4, so it looks safe — our inference, not a vendor statement
Affected range stops below 4.7.4, so it looks safe — our inference, not a vendor statement
Affected range stops below 4.8.8, so it looks safe — our inference, not a vendor statement
Affected range stops below 4.9.9, so it looks safe — our inference, not a vendor statement
Affected range stops below 5.0.1, so it looks safe — our inference, not a vendor statement
Affected range stops below 5.1.2, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet, and no fixed version or vendor advisory is recorded against it.

SSVC — Action Prioritization

SSVCNo known exploitAutomatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

7.5HIGHWordfence
Vector?

Quick Info

StatusDEFERRED
CWE
CWE-639

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card