The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-13457

CVE-2025-13457: WooCommerce Square IDOR Vulnerability

CVE-2025-13457 is an Insecure Direct Object Reference flaw in WooCommerce Square plugin for WordPress that allows attackers to expose credit card tokens and make fraudulent charges. This post covers technical details, affected versions, impact, and mitigation.

Updated: January 22, 2026

CVE-2025-13457 Overview

The WooCommerce Square plugin for WordPress contains an Insecure Direct Object Reference (IDOR) vulnerability in all versions up to and including 5.1.1. The flaw exists in the get_token_by_id function due to missing validation on a user-controlled key. This security gap allows unauthenticated attackers to expose arbitrary Square "ccof" (credit card on file) values and potentially leverage this information to make fraudulent charges on affected WordPress sites.

Critical Impact

Unauthenticated attackers can access sensitive payment token data and potentially conduct fraudulent transactions on vulnerable e-commerce sites.

Affected Products

  • WooCommerce Square plugin for WordPress versions up to and including 5.1.1
  • WordPress sites using WooCommerce Square for payment processing
  • Square payment integration implementations with vulnerable plugin versions

Discovery Timeline

  • 2026-01-10 - CVE CVE-2025-13457 published to NVD
  • 2026-01-13 - Last updated in NVD database

Technical Details for CVE-2025-13457

Vulnerability Analysis

This vulnerability falls under CWE-639 (Authorization Bypass Through User-Controlled Key), a common access control weakness where the application uses user-controllable data as a key to access restricted resources without proper authorization checks. In the context of the WooCommerce Square plugin, the get_token_by_id function fails to verify that the requesting user has proper authorization to access the requested payment token.

The vulnerability is particularly dangerous because it can be exploited remotely over the network without requiring any authentication or user interaction. Successful exploitation results in the exposure of sensitive credit card token data ("ccof" values) that Square uses to reference stored payment methods.

Root Cause

The root cause of this vulnerability is the absence of proper authorization validation in the get_token_by_id function. When processing requests for payment token data, the function accepts a user-supplied identifier and retrieves the corresponding token without verifying that the requester is authorized to access that specific resource. This missing validation creates a direct object reference vulnerability where any user can access any token by simply guessing or enumerating token identifiers.

Attack Vector

The attack vector is network-based and requires no authentication. An attacker can exploit this vulnerability by sending crafted requests to the vulnerable endpoint with manipulated token identifiers. Since no authentication is required, attackers can enumerate through token IDs to discover and extract payment token data belonging to other users.

The exploitation flow involves:

  1. Identifying the vulnerable API endpoint that handles token retrieval
  2. Crafting requests with sequential or guessed token identifiers
  3. Extracting exposed "ccof" (credit card on file) values from responses
  4. Potentially using stolen token values for fraudulent transactions

The vulnerability manifests in the get_token_by_id function where token retrieval occurs without proper ownership validation. Technical implementation details can be found in the WordPress Changeset for WooCommerce which contains the security fix.

Detection Methods for CVE-2025-13457

Indicators of Compromise

  • Unusual patterns of requests to payment token retrieval endpoints
  • Sequential or enumeration-style requests targeting token identifiers
  • Access attempts to token resources from unauthenticated sessions
  • Anomalous spikes in API calls to WooCommerce Square payment endpoints

Detection Strategies

  • Monitor web application logs for repeated requests to token-related endpoints with varying identifiers
  • Implement rate limiting detection for payment API endpoints to identify enumeration attempts
  • Review access logs for unauthenticated requests accessing sensitive payment data
  • Deploy Web Application Firewall (WAF) rules to detect IDOR attack patterns

Monitoring Recommendations

  • Enable detailed logging for all WooCommerce Square plugin API interactions
  • Configure alerts for unusual payment token access patterns
  • Monitor for failed authorization attempts on payment-related endpoints
  • Implement real-time monitoring for access to sensitive Square payment data

How to Mitigate CVE-2025-13457

Immediate Actions Required

  • Update WooCommerce Square plugin to the latest patched version immediately
  • Review recent access logs for signs of exploitation or unauthorized token access
  • Audit all payment transactions for potentially fraudulent activity
  • Consider temporarily disabling the plugin if immediate patching is not possible

Patch Information

A security patch addressing this vulnerability is available through the WordPress plugin repository. The fix implements proper authorization validation in the get_token_by_id function to ensure users can only access their own payment tokens. Detailed code changes can be reviewed in the WordPress Changeset for WooCommerce. Additional vulnerability details are available in the Wordfence Vulnerability Report.

Workarounds

  • Restrict access to WooCommerce Square API endpoints at the web server level using IP allowlists
  • Implement additional authentication layers for payment-related functionality
  • Deploy a Web Application Firewall (WAF) with rules to detect and block IDOR attempts
  • Monitor and rate-limit requests to payment token endpoints
bash
# Example: Restrict access to WooCommerce Square endpoints in Apache
<Location "/wp-json/wc-square/">
    Require ip 10.0.0.0/8
    Require ip 192.168.0.0/16
</Location>

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechWoocommerce Square

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-639
  • Technical References
  • WordPress Changeset for WooCommerce

  • Wordfence Vulnerability Report C7F4F726
  • Latest CVEs
  • CVE-2025-9185: Mozilla Firefox RCE Vulnerability

  • CVE-2025-9184: Mozilla Firefox RCE Vulnerability

  • CVE-2025-9180: Mozilla Firefox Auth Bypass Vulnerability

  • CVE-2025-8030: Mozilla Firefox RCE Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English