Skip to main content
← All vulnerabilities
CVE-2025-13457

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 4.2.3, 4.3.2, 4.4.2, 4.5.2, 4.6.4, and 5 more
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • woocommerce WooCommerce Square

    From 4.2.0 · fixed in 4.2.3; From 4.3.0 · fixed in 4.3.2; From 4.4.0 · fixed in 4.4.2; From 4.5.0 · fixed in 4.5.2; From 4.6.0 · fixed in 4.6.4; From 4.7.0 · fixed in 4.7.4; From 4.8.0 · fixed in 4.8.8; From 4.9.0 · fixed in 4.9.9; From 5.0.0 · fixed in 5.0.1; From 5.1.0 · fixed in 5.1.2

References 2

wordfence.com

plugins.trac.wordpress.org