CVE-2025-13457
Unknown Unknown - Not Provided

IDOR Vulnerability in WooCommerce Square Plugin Exposes Credit Cards

Vulnerability report for CVE-2025-13457, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-01-10

Last updated on: 2026-01-10

Assigner: 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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-01-10
Last Modified
2026-01-10
Generated
2026-07-07
AI Q&A
2026-01-10
EPSS Evaluated
2026-07-05
NVD

Affected Vendors & Products

Showing 2 associated CPEs
Vendor Product Version / Range
woocommerce woocommerce_square to 5.1.1 (inc)
woocommerce woocommerce_square 5.1.2

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-639 The system's authorization functionality does not prevent one user from gaining access to another user's data or record by modifying the key value identifying the data.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

The WooCommerce Square plugin for WordPress has an Insecure Direct Object Reference vulnerability in versions up to 5.1.1. This occurs in the get_token_by_id function due to missing validation on a user-controlled key, allowing unauthenticated attackers to access arbitrary Square credit card on file (ccof) values. Attackers can potentially use these values to make fraudulent charges on the affected site.

Impact Analysis

This vulnerability can allow unauthenticated attackers to expose stored credit card information (ccof values) from the WooCommerce Square plugin. With access to these values, attackers may make fraudulent charges on the target site, leading to financial loss, reputational damage, and potential legal consequences for the site owner.

Mitigation Strategies

To mitigate this vulnerability, immediately update the WooCommerce Square plugin to version 5.1.2 or later, as this version includes security fixes that implement nonce verification and user authentication checks to prevent unauthorized access to payment tokens. Additionally, ensure that your WordPress and WooCommerce installations are updated to compatible versions (WordPress up to 6.9.2 and WooCommerce up to 10.4.6) as per the plugin update. These steps will prevent unauthenticated attackers from exploiting the insecure direct object reference vulnerability. [2]

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2025-13457. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart