Vulnerabilities

CVE-2025-13457

High 7.5 CVSS 3.1

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.

Description as published by the source, in English.

Key facts

Published
2026-01-10
Last modified
2026-06-17
Assigned by
security@wordfence.com
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Scored by
security@wordfence.com
Probability of exploitation
0.3 % higher than 17 % of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15
Fix available
Not registered in the sources

Affected products

Vendor Product Versions Status
woocommerce WooCommerce Square ≥ 4.2.0, < 4.2.3 Affected
woocommerce WooCommerce Square ≥ 4.3.0, < 4.3.2 Affected
woocommerce WooCommerce Square ≥ 4.4.0, < 4.4.2 Affected
woocommerce WooCommerce Square ≥ 4.5.0, < 4.5.2 Affected
woocommerce WooCommerce Square ≥ 4.6.0, < 4.6.4 Affected
woocommerce WooCommerce Square ≥ 4.7.0, < 4.7.4 Affected
woocommerce WooCommerce Square ≥ 4.8.0, < 4.8.8 Affected
woocommerce WooCommerce Square ≥ 4.9.0, < 4.9.9 Affected
woocommerce WooCommerce Square ≥ 5.0.0, < 5.0.1 Affected
woocommerce WooCommerce Square ≥ 5.1.0, < 5.1.2 Affected

Weakness type

References

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities