CVE-2025-13457: WooCommerce Square (WordPress plugin) · Insecure Direct Object Reference
Affects WooCommerce Square (WordPress plugin)Source CVE Database V5
Not known to be exploited · CVSS 7.5 High · fixed in 5.1.2 : patch WooCommerce Square (WordPress plugin) soon.
Data as of 29 Nov 2026, 18:36 UTC
- EPSS
- 0.5% chance of exploitation in 30 days – higher than 42% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 5.1.2, 5.0.1, 4.9.9 +7
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NExploitation evidence
Disclosed: evidence found.
CVE published 10 Jan 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 29 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| woocommerceWooCommerce Square | Affected
| Fixed in
|
| woocommerceWooCommerce Square | Affected
| Fixed in
|
| woocommerceWooCommerce Square | Affected
| Fixed in
|
| woocommerceWooCommerce Square | Affected
| Fixed in
|
| woocommerceWooCommerce Square | Affected
| Fixed in
|
| woocommerceWooCommerce Square | Affected
| Fixed in
|
AI-suggested
To mitigate CVE-2025-13457, organizations should immediately upgrade the WooCommerce Square plugin to a patched version once available. If you cannot patch yet, administrators should implement strict access controls and input validation on the get_token_by_id function to ensure that user-supplied keys are authorized and correspond only to the requesting user’s tokens. Employing Web Application Firewalls (WAFs) with custom rules to detect and block suspicious requests targeting the vulnerable endpoint can reduce exploitation risk. Monitoring logs for unusual access patterns or repeated attempts to access ccof tokens is critical for early detection. Additionally, organizations should review and tighten API permissions and consider disabling the Square integration temporarily if feasible. Conducting a thorough audit of stored payment tokens and transaction logs can help identify any fraudulent activity. Finally, educating development teams about secure coding practices related to authorization checks and direct object references will help prevent similar vulnerabilities in the future.
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.