Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
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-13974

CVE-2025-13974: WooCommerce Email Customizer XSS Flaw

CVE-2025-13974 is a stored cross-site scripting vulnerability in the Email Customizer for WooCommerce plugin that allows authenticated administrators to inject malicious scripts into email templates. This article covers technical details, affected versions, impact, and mitigation strategies.

Updated: January 22, 2026

CVE-2025-13974 Overview

CVE-2025-13974 is a Stored Cross-Site Scripting (XSS) vulnerability affecting the Email Customizer for WooCommerce plugin for WordPress. The vulnerability exists in all versions up to and including 2.6.7 due to insufficient input sanitization and output escaping in email template content. This security flaw allows authenticated attackers with administrator-level access to inject arbitrary web scripts into email templates that execute when customers view transactional emails.

Critical Impact

Attackers can inject malicious scripts into WooCommerce transactional emails that execute in customers' browsers, potentially leading to session hijacking, credential theft, or malware distribution through trusted email communications.

Affected Products

  • Email Customizer for WooCommerce plugin for WordPress versions up to and including 2.6.7
  • WordPress multi-site installations
  • WordPress installations where unfiltered_html has been disabled

Discovery Timeline

  • 2026-01-07 - CVE-2025-13974 published to NVD
  • 2026-01-08 - Last updated in NVD database

Technical Details for CVE-2025-13974

Vulnerability Analysis

This Stored Cross-Site Scripting vulnerability (CWE-79) resides in the email template handling functionality of the Email Customizer for WooCommerce plugin. The vulnerability stems from the plugin's failure to properly sanitize user-supplied input and escape output when processing email template content.

The attack requires administrator-level privileges to exploit, which limits the attack surface. However, the impact is magnified because the injected scripts execute within the context of transactional emails viewed by customers. This creates a trust exploitation scenario where malicious content appears to originate from legitimate WooCommerce order communications.

The vulnerability specifically affects WordPress multi-site installations and single-site installations where the unfiltered_html capability has been explicitly disabled. In standard single-site WordPress installations with default configurations, administrators already have the unfiltered_html capability, making this vulnerability less impactful in those environments.

Root Cause

The root cause of this vulnerability is insufficient input sanitization and output escaping in the class-wecmf-general-template.php file at line 213. When email template content is processed, the plugin fails to properly filter or encode potentially dangerous HTML and JavaScript content before rendering it in customer-facing emails. This allows script tags and other executable content to be stored in the database and later rendered without proper escaping.

Attack Vector

The attack vector is network-based and requires high privileges (administrator access) to execute. An attacker with compromised administrator credentials or a malicious insider could:

  1. Access the WordPress admin dashboard with administrator privileges
  2. Navigate to the Email Customizer for WooCommerce settings
  3. Inject malicious JavaScript code into email template fields
  4. The malicious script is stored in the database
  5. When customers receive transactional emails (order confirmations, shipping notifications, etc.), the injected scripts execute in their email client or browser

The vulnerable code can be examined in the WordPress Plugin Code Reference. The vulnerability manifests when email template content containing script elements is rendered without proper output encoding. For detailed technical analysis, refer to the Wordfence Vulnerability Analysis.

Detection Methods for CVE-2025-13974

Indicators of Compromise

  • Unusual JavaScript code or <script> tags present in WooCommerce email template configurations
  • Customer reports of suspicious behavior when viewing transactional emails
  • Unexpected external resource requests originating from email content
  • Modified email template entries in the WordPress database with encoded or obfuscated script content

Detection Strategies

  • Review WooCommerce email template configurations for any unauthorized modifications or suspicious script injections
  • Implement file integrity monitoring on the class-wecmf-general-template.php file and related plugin files
  • Monitor WordPress admin activity logs for unauthorized changes to email customizer settings
  • Audit database entries related to email templates for signs of injected malicious content

Monitoring Recommendations

  • Enable detailed WordPress audit logging for all administrative actions, particularly plugin configuration changes
  • Configure web application firewall (WAF) rules to detect XSS payloads in POST requests to email customizer endpoints
  • Implement Content Security Policy (CSP) headers to mitigate the impact of any successful script injection
  • Regularly review email template content for unauthorized modifications

How to Mitigate CVE-2025-13974

Immediate Actions Required

  • Update the Email Customizer for WooCommerce plugin to a version newer than 2.6.7 when a patch becomes available
  • Audit all existing email templates for signs of malicious script injection
  • Review administrator account access and enforce strong authentication practices including multi-factor authentication
  • Temporarily restrict access to email customizer functionality to trusted administrators only

Patch Information

Organizations should monitor the official WordPress plugin repository for an updated version of the Email Customizer for WooCommerce plugin that addresses this vulnerability. The vulnerable code is located in classes/inc/class-wecmf-general-template.php at line 213. When a patched version is released, update immediately through the WordPress admin dashboard or via WP-CLI.

For technical reference on the affected code, see the WordPress Plugin Code Reference.

Workarounds

  • Limit administrator account access to only essential personnel and implement the principle of least privilege
  • Enable unfiltered_html restrictions on single-site installations where this capability is currently allowed
  • Implement additional server-side input validation through a web application firewall (WAF) to filter XSS payloads
  • Consider temporarily disabling the Email Customizer for WooCommerce plugin until a patched version is available
bash
# Configuration example - Disable unfiltered_html capability for administrators
# Add to wp-config.php to restrict HTML capabilities
define('DISALLOW_UNFILTERED_HTML', true);

# Alternative: Use WP-CLI to audit plugin status
wp plugin list --fields=name,status,version | grep email-customizer

# Check for plugin updates
wp plugin update email-customizer-for-woocommerce --dry-run

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

  • Vulnerability Details
  • TypeXSS

  • Vendor/TechWoocommerce

  • SeverityMEDIUM

  • CVSS Score4.4

  • EPSS Probability0.03%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:L/I:L/A:N
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-79
  • Technical References
  • WordPress Plugin Code Reference

  • WordPress Plugin Code Reference

  • Wordfence Vulnerability Analysis
  • Related CVEs
  • CVE-2025-32674: WooCommerce Excel Import XSS Vulnerability

  • CVE-2025-32535: DN Shipping by Weight XSS Vulnerability

  • CVE-2026-3355: WooCommerce Reviews Plugin XSS Vulnerability

  • CVE-2025-23789: URL Shortener Plugin Reflected XSS Flaw
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