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
    • AI 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-12903

CVE-2025-12903: Braintree WooCommerce Auth Bypass Flaw

CVE-2025-12903 is an authorization bypass vulnerability in the Braintree For WooCommerce WordPress plugin allowing unauthenticated attackers to access payment nonces and create fraudulent transactions. This article covers technical details, affected versions, impact, and mitigation strategies.

Updated: May 11, 2026

CVE-2025-12903 Overview

CVE-2025-12903 is an authorization bypass vulnerability in the Payment Plugins Braintree For WooCommerce plugin for WordPress. The flaw exists in the wc-braintree/v1/3ds/vaulted_nonce REST API endpoint across all versions up to and including 3.2.78. The endpoint registers its permission_callback as __return_true, removing authentication and capability checks. Unauthenticated attackers can submit arbitrary token IDs and retrieve payment method nonces tied to any stored payment token. These nonces enable fraudulent charges against customer credit cards, attachment of payment methods to other subscriptions, and unauthorized transactions through the merchant's Braintree integration.

Critical Impact

Unauthenticated attackers can retrieve payment method nonces for any stored token, enabling fraudulent transactions against customer cards.

Affected Products

  • Payment Plugins Braintree For WooCommerce — all versions through 3.2.78
  • WordPress sites running WooCommerce with this plugin enabled
  • Merchants using Braintree 3D Secure (3DS) vaulted payment flows

Discovery Timeline

  • 2025-11-12 - CVE-2025-12903 published to NVD
  • 2026-04-15 - Last updated in NVD database

Technical Details for CVE-2025-12903

Vulnerability Analysis

The vulnerability is an Authorization Bypass classified under [CWE-639] (Authorization Bypass Through User-Controlled Key). The plugin exposes a REST API route under the wc-braintree/v1/3ds/vaulted_nonce namespace to support 3D Secure flows for previously vaulted payment methods. The controller registers the route without any authentication or capability gating. The handler accepts a user-supplied payment token ID and returns the associated payment method nonce without verifying that the requester owns the token or is authenticated. An attacker can iterate token IDs and harvest nonces tied to any stored card in the merchant's vault. Because the disclosed nonces are valid for downstream Braintree operations, an attacker can chain them into charge requests, subscription modifications, or other vaulted-payment workflows. The disclosure document supplied with the CVE references the controller at class-wc-braintree-controller-3ds.php lines 23, 35, and 41, where route registration and token handling occur.

Root Cause

The root cause is the use of permission_callback => __return_true during register_rest_route for a sensitive payment endpoint. The WordPress REST API treats __return_true as an explicit allow-all, bypassing nonce, cookie, and application password checks. The handler compounds the issue by trusting the supplied token ID and skipping ownership validation against the current user or session.

Attack Vector

An attacker sends an unauthenticated HTTP request to /wp-json/wc-braintree/v1/3ds/vaulted_nonce with a target token identifier. The server returns a usable payment method nonce. The attacker then submits the nonce to checkout, subscription, or order-pay flows to authorize transactions against the victim's stored card.

No verified public proof-of-concept code is available. Refer to the Wordfence Vulnerability Advisory and the WooCommerce Braintree Controller Code for the affected route registration.

Detection Methods for CVE-2025-12903

Indicators of Compromise

  • Unauthenticated POST or GET requests to /wp-json/wc-braintree/v1/3ds/vaulted_nonce from external IP addresses
  • Sequential or enumerated token ID values in REST API request payloads targeting the Braintree endpoint
  • WooCommerce orders or subscription updates created shortly after a burst of vaulted_nonce requests
  • Braintree transaction logs showing charges using nonces issued without a matching authenticated session

Detection Strategies

  • Inspect web server and WordPress access logs for any requests to the wc-braintree/v1/3ds/vaulted_nonce path and alert on requests lacking authenticated user context
  • Correlate REST API access spikes with WooCommerce order and subscription activity to identify nonce-replay patterns
  • Enable Wordfence or equivalent WordPress security plugin signatures covering CVE-2025-12903

Monitoring Recommendations

  • Forward WordPress, WooCommerce, and reverse-proxy logs to a centralized SIEM or data lake for cross-source correlation
  • Alert on chargeback rate increases and Braintree gateway transaction anomalies tied to vaulted payment methods
  • Track plugin version inventory across WordPress estates to flag any installations still running 3.2.78 or earlier

How to Mitigate CVE-2025-12903

Immediate Actions Required

  • Update the Payment Plugins Braintree For WooCommerce plugin to a version newer than 3.2.78 once available from the vendor
  • Audit Braintree transaction history for unauthorized charges, refunds, and subscription payment-method changes since plugin deployment
  • Rotate or invalidate stored payment method tokens for accounts showing suspicious nonce activity

Patch Information

A fix was committed in the plugin repository, referenced in the WooCommerce Payment Gateway Changeset 3392259. Administrators should install the patched release through the WordPress plugin manager and confirm the new version is active across all sites.

Workarounds

  • Temporarily disable the Payment Plugins Braintree For WooCommerce plugin until the patched version is installed
  • Block external access to /wp-json/wc-braintree/v1/3ds/vaulted_nonce at the WAF or reverse proxy until the fix is deployed
  • Restrict REST API access to authenticated sessions where business workflows allow, using a WAF rule that denies unauthenticated requests to the affected route
bash
# Example NGINX rule to block external access to the vulnerable endpoint
location ~ ^/wp-json/wc-braintree/v1/3ds/vaulted_nonce {
    deny all;
    return 403;
}

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

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechWoocommerce

  • SeverityHIGH

  • CVSS Score7.5

  • EPSS Probability0.45%

  • 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 REST API Authentication Guide

  • WooCommerce Braintree Controller Code

  • WooCommerce Braintree Controller Code

  • WooCommerce Braintree Controller Code

  • WooCommerce Payment Gateway Changeset

  • Wordfence Vulnerability ID #89cd5429
  • Related CVEs
  • CVE-2026-5050: Redsys WooCommerce Auth Bypass Vulnerability

  • CVE-2025-11890: WooCommerce Payeer Payment Bypass Flaw

  • CVE-2025-8342: WooCommerce OTP Login Auth Bypass Flaw

  • CVE-2025-31580: Ni WooCommerce Product Enquiry Auth Bypass
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