A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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 CSRF and Stored XSS Flaw

CVE-2025-60171 is a CSRF vulnerability in Conditional Cart Messages for WooCommerce that enables Stored XSS attacks. This security flaw affects versions up to 1.2.10. This article covers technical details, impact, and mitigation.

Updated: May 19, 2026

CVE-2025-60171 Overview

CVE-2025-60171 is a Cross-Site Request Forgery (CSRF) vulnerability in the Conditional Cart Messages for WooCommerce plugin by YourPlugins.com (yourplugins-wc-conditional-cart-notices). The flaw affects all plugin versions up to and including 1.2.10. An attacker can chain the CSRF weakness with stored Cross-Site Scripting (XSS) to inject persistent JavaScript into the WordPress administration interface. Exploitation requires tricking an authenticated administrator into visiting a crafted page or link.

Critical Impact

A successful attack stores malicious JavaScript in the WooCommerce site, enabling session theft, administrative account takeover, and arbitrary actions performed in the victim's browser context.

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 installed

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 exposes state-changing administrative endpoints that do not validate the origin of incoming requests. The issue is classified under CWE-352: Cross-Site Request Forgery. Because the affected handlers also fail to sanitize input before storing it, an attacker can leverage the CSRF primitive to plant persistent XSS payloads in plugin-managed settings such as cart notice messages.

When an authenticated WordPress administrator visits an attacker-controlled page, the browser automatically submits a forged request to the vulnerable endpoint using the administrator's session cookies. The plugin processes the request as legitimate and persists the attacker-supplied content. Any subsequent visit to a page rendering that content executes the stored script in the visitor's browser.

Root Cause

The vulnerability stems from missing CSRF protection on plugin settings handlers. WordPress provides nonce primitives such as wp_nonce_field() and check_admin_referer(), but the affected endpoints in versions up to 1.2.10 do not enforce these checks. The absence of output encoding on the stored values compounds the issue and enables the stored XSS chain.

Attack Vector

The attack is network-based and requires user interaction. An attacker hosts a page containing a hidden form or fetch() call that targets the vulnerable plugin endpoint on the victim site. The attacker then social-engineers a logged-in administrator into loading that page. The forged request writes attacker-controlled JavaScript into the plugin's stored notice configuration. The payload then executes whenever the cart notice renders, achieving cross-context script execution with the privileges of any user who views the affected page.

No verified public proof-of-concept code is available. Refer to the Patchstack Vulnerability Report for additional advisory details.

Detection Methods for CVE-2025-60171

Indicators of Compromise

  • Unexpected <script> tags, event handlers, or obfuscated JavaScript inside WooCommerce cart notice configuration entries stored by yourplugins-wc-conditional-cart-notices.
  • Administrative POST requests to plugin endpoints originating from external Referer headers or lacking valid WordPress nonces.
  • New or modified administrator accounts, plugin installations, or option changes following an admin session.

Detection Strategies

  • Audit the wp_options table and plugin-specific tables for entries containing HTML or script content within cart notice fields.
  • Review web server access logs for POST requests to /wp-admin/admin.php or admin-post.php referencing the plugin slug from off-domain referrers.
  • Compare the installed plugin version against 1.2.10 and flag any site running an affected build.

Monitoring Recommendations

  • Enable a web application firewall ruleset that inspects WordPress admin requests for missing or invalid _wpnonce parameters.
  • Forward WordPress and webserver logs to a centralized analytics platform and alert on anomalous administrator-initiated configuration changes.
  • Monitor browser-side errors and Content Security Policy (CSP) violation reports for unexpected inline script execution on storefront pages.

How to Mitigate CVE-2025-60171

Immediate Actions Required

  • Update Conditional Cart Messages for WooCommerce to a version later than 1.2.10 as soon as the vendor publishes a fix.
  • If no patched version is available, deactivate and remove the plugin until remediation is released.
  • Force a password reset and invalidate active sessions for all WordPress administrator accounts on affected sites.

Patch Information

The advisory tracked by the Patchstack Vulnerability Report covers all versions up to and including 1.2.10. Site administrators should monitor the YourPlugins.com vendor channel and the WordPress.org plugin page for an updated release that introduces CSRF nonce validation and input sanitization on the affected handlers.

Workarounds

  • Restrict /wp-admin/ access by source IP at the reverse proxy or firewall layer to reduce CSRF exposure.
  • Deploy a WAF rule that rejects WordPress admin POST requests missing a valid _wpnonce parameter or carrying an off-site Referer.
  • Enforce a strict Content Security Policy that disallows inline scripts on storefront pages to limit stored XSS impact.
  • Instruct administrators to use a separate browser profile for WordPress administration and to log out of admin sessions when not in use.
bash
# Example: block off-site POSTs to WordPress admin endpoints (nginx)
map $http_referer $wp_admin_offsite {
    default 1;
    "~*^https?://your-site\.example/" 0;
}

location ~ ^/wp-admin/(admin\.php|admin-post\.php|options\.php) {
    if ($request_method = POST) {
        if ($wp_admin_offsite) { return 403; }
    }
}

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 Vulnerability Report
  • Related CVEs
  • CVE-2026-6932: WooCommerce Minimum Weight CSRF Vulnerability

  • CVE-2026-39671: WooCommerce Extra Fees Plugin CSRF Flaw

  • CVE-2026-24365: WooCommerce Stock Manager CSRF Vulnerability

  • CVE-2025-53271: WooCommerce Order Filters CSRF Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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