CVE-2025-13457
published high CVSS 3.1 · 7.5WooCommerce Square <= 5.1.1 - Unauthenticated Insecure Direct Object Reference to Sensitive Information Exposure in get_token_by_id
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| woocommerce | — | WooCommerce Square4.2.0 to < 4.2.3 · 4.3.0 to < 4.3.2 · 4.4.0 to < 4.4.2 · 4.5.0 to < 4.5.2 · 4.6.0 to < 4.6.4 · 4.7.0 to < 4.7.4 · 4.8.0 to < 4.8.8 · 4.9.0 to < 4.9.9 · 5.0.0 to < 5.0.1 · 5.1.0 to < 5.1.2 · Other versions: unaffected | Affected | Not stated | Wordfence |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- Wordfence · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| woocommerce | WooCommerce Square | 4.2.0 to < 4.2.3 (affected · semver)4.3.0 to < 4.3.2 (affected · semver)4.4.0 to < 4.4.2 (affected · semver)4.5.0 to < 4.5.2 (affected · semver)4.6.0 to < 4.6.4 (affected · semver)4.7.0 to < 4.7.4 (affected · semver)4.8.0 to < 4.8.8 (affected · semver)4.9.0 to < 4.9.9 (affected · semver)5.0.0 to < 5.0.1 (affected · semver)5.1.0 to < 5.1.2 (affected · semver)Default: unaffected | Wordfence · cna |
Weaknesses
1- CWE-639 CWE-639 Authorization Bypass Through User-Controlled Key
References
2Provider assertions
2Wordfence · cna
WooCommerce Square <= 5.1.1 - Unauthenticated Insecure Direct Object Reference to Sensitive Information Exposure in get_token_by_id
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 9292ea83a7510928594f4363aa85134c43816dec453b2ee044cc6ca769cf3735
- Ingested
- 23 Sep 2026, 08:37:10 UTC
- Source record
- Official CVE record