CVE-2025-13457

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

State
Published
Severity
7.5 High
Published
Jan 10, 2026
Updated
Jan 12, 2026
Reserved
Nov 19, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.17.5 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NWordfence

Weaknesses

  • CWE-639 Authorization Bypass Through User-Controlled Key

Affected Products

ProductVersions
WooCommerce Squarewoocommerce
  • 4.2.0 to before 4.2.3Affected
  • 4.3.0 to before 4.3.2Affected
  • 4.4.0 to before 4.4.2Affected
  • 4.5.0 to before 4.5.2Affected
  • 4.6.0 to before 4.6.4Affected
  • 4.7.0 to before 4.7.4Affected
  • 4.8.0 to before 4.8.8Affected
  • 4.9.0 to before 4.9.9Affected
  • 5.0.0 to before 5.0.1Affected
  • 5.1.0 to before 5.1.2Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.