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-60171

CVE-2025-60171: WooCommerce Cart Messages CSRF Vulnerability

CVE-2025-60171 is a Cross-Site Request Forgery flaw in Conditional Cart Messages for WooCommerce plugin that enables Stored XSS attacks. This article covers the technical details, affected versions up to 1.2.10, and mitigation.

Updated: May 11, 2026

CVE-2025-60171 Overview

CVE-2025-60171 is a Cross-Site Request Forgery (CSRF) vulnerability in the Conditional Cart Messages for WooCommerce plugin developed by YourPlugins.com. The flaw affects all plugin versions up to and including 1.2.10. An attacker can chain the CSRF flaw with Stored Cross-Site Scripting (XSS), allowing malicious JavaScript to be injected and persisted through forged administrative requests. The vulnerability is tracked under CWE-352: Cross-Site Request Forgery.

Critical Impact

Successful exploitation lets attackers inject persistent JavaScript into WooCommerce store pages by tricking an authenticated administrator into clicking a crafted link, enabling session hijacking, content manipulation, or downstream account takeover.

Affected Products

  • Conditional Cart Messages for WooCommerce – YourPlugins.com (yourplugins-wc-conditional-cart-notices)
  • All versions from initial release through 1.2.10
  • WordPress sites running WooCommerce with this plugin enabled

Discovery Timeline

  • 2025-09-26 - CVE-2025-60171 published to NVD
  • 2026-04-28 - Last updated in NVD database

Technical Details for CVE-2025-60171

Vulnerability Analysis

The plugin processes state-changing requests without validating a CSRF token, also known as a WordPress nonce. An attacker hosts a malicious page or sends a crafted link that triggers a request to the plugin's administrative endpoint when an authenticated administrator visits it. Because the browser automatically attaches the administrator's session cookies, the WordPress backend processes the request as legitimate.

The submitted payload is then stored in the plugin's cart message configuration. When the message renders to site visitors or store administrators, the unsanitized input executes in their browsers as Stored XSS. This chains CSRF with XSS, allowing the attacker to bypass the same-origin protections that would normally block direct script injection.

The attack requires user interaction (UI:R) but no privileges (PR:N) on the attacker side, and the impact crosses a security boundary (S:C) because injected scripts execute in the context of every user who loads the affected page.

Root Cause

The plugin's request handlers fail to verify a valid wp_nonce or referrer header before persisting administrator-controlled input. Additionally, the input is not sanitized or output-encoded, enabling the XSS portion of the chain. Together these omissions violate WordPress plugin security guidance for handling privileged form submissions.

Attack Vector

Exploitation is network-based and requires an authenticated WordPress administrator to load attacker-controlled content while logged in. The attacker crafts an HTML form or image tag that auto-submits a POST request to the vulnerable plugin endpoint. The body contains a malicious cart notice value embedding <script> tags or event-handler attributes. Once stored, the payload fires for every shopper or admin viewing the cart context. See the Patchstack advisory for additional context.

Detection Methods for CVE-2025-60171

Indicators of Compromise

  • Unexpected <script> tags, onerror, or onload attributes stored in the plugin's cart notice options inside the wp_options table
  • WordPress access logs showing POST requests to plugin admin endpoints with external Referer headers
  • New or modified administrator accounts created shortly after suspicious cart notice changes
  • Browser console errors or content-security-policy violations triggered on cart, checkout, or product pages

Detection Strategies

  • Audit the plugin configuration in wp_options for any cart notice fields containing HTML or JavaScript syntax
  • Review WordPress audit logs for changes to plugin settings without a matching authenticated admin session in the UI
  • Compare current plugin database values against a known-good backup to identify unauthorized modifications

Monitoring Recommendations

  • Enable a WordPress activity logging plugin to record settings changes with user, IP, and timestamp
  • Forward web server logs to a SIEM and alert on POST requests to plugin admin pages with cross-origin referrers
  • Monitor outbound traffic from store visitors for connections to unknown domains that may indicate XSS beaconing

How to Mitigate CVE-2025-60171

Immediate Actions Required

  • Update the Conditional Cart Messages for WooCommerce plugin to a version newer than 1.2.10 once the vendor publishes a fix
  • Temporarily deactivate the plugin if a patched release is not yet available and the cart message feature is non-essential
  • Force a password reset and re-authentication for all WordPress administrator accounts
  • Inspect and sanitize existing cart notice values to remove any stored script payloads

Patch Information

At the time of publication, the vulnerability affects all versions up to and including 1.2.10. Administrators should consult the Patchstack vulnerability database entry and the vendor changelog for the corrected release version before upgrading.

Workarounds

  • Deploy a Web Application Firewall (WAF) rule that blocks POST requests to the plugin's admin endpoints lacking a same-origin Referer header
  • Restrict WordPress admin access to known IP addresses through .htaccess or reverse-proxy ACLs
  • Require administrators to use separate browsers or profiles for WordPress administration to limit cross-site request exposure
  • Apply a strict Content Security Policy that disallows inline scripts on storefront pages
bash
# Example nginx rule restricting wp-admin to a trusted CIDR range
location ^~ /wp-admin/ {
    allow 203.0.113.0/24;
    deny all;
    try_files $uri $uri/ /index.php?$args;
}

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

  • Vulnerability Details
  • TypeCSRF

  • Vendor/TechWoocommerce

  • SeverityHIGH

  • CVSS Score7.1

  • EPSS Probability0.02%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:L
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityLow
  • AvailabilityLow
  • CWE References
  • CWE-352
  • Technical References
  • Patchstack WordPress Plugin Vulnerability
  • Related CVEs
  • CVE-2025-58991: WooCommerce Booking Bundle CSRF Flaw

  • CVE-2025-52783: WooCommerce Cart Button CSRF Vulnerability

  • CVE-2026-4140: Ni WooCommerce Order Export CSRF Vulnerability

  • CVE-2026-1852: WooBeWoo Pricing Table Plugin CSRF 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