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

CVE-2025-30857: WooCommerce Currency Switcher CSRF Vulnerability

CVE-2025-30857 is a Cross-Site Request Forgery vulnerability in PressMaximum Currency Switcher for WooCommerce that enables Stored XSS attacks. This article covers technical details, affected versions, and mitigation.

Published: April 22, 2026

CVE-2025-30857 Overview

CVE-2025-30857 is a Cross-Site Request Forgery (CSRF) vulnerability in the PressMaximum Currency Switcher for WooCommerce WordPress plugin that enables attackers to perform Stored Cross-Site Scripting (XSS) attacks. This chained vulnerability allows malicious actors to trick authenticated administrators into unknowingly submitting requests that inject persistent malicious scripts into the WordPress installation.

Critical Impact

This CSRF to Stored XSS chain allows attackers to persistently inject malicious JavaScript code into the WordPress site, potentially compromising all site visitors and administrators through session hijacking, credential theft, or malware distribution.

Affected Products

  • Currency Switcher for WooCommerce plugin versions up to and including 0.0.7
  • WordPress installations using the currency-switcher-for-woocommerce plugin
  • WooCommerce stores utilizing the affected plugin for currency conversion functionality

Discovery Timeline

  • 2025-03-27 - CVE CVE-2025-30857 published to NVD
  • 2026-04-15 - Last updated in NVD database

Technical Details for CVE-2025-30857

Vulnerability Analysis

This vulnerability represents a dangerous attack chain combining two web application security weaknesses. The plugin lacks proper CSRF token validation on administrative forms that handle currency configuration settings. When combined with insufficient output encoding, attackers can exploit this weakness to inject malicious JavaScript code that persists in the database and executes whenever the affected page is rendered.

The attack requires social engineering to lure an authenticated administrator to a malicious page containing a crafted form submission. Once triggered, the malicious payload becomes stored in the WordPress database and executes in the browser context of any user viewing the affected content.

Root Cause

The root cause of this vulnerability lies in the absence of nonce verification in the plugin's form handling functions. WordPress provides the wp_nonce_field() and wp_verify_nonce() functions specifically to prevent CSRF attacks, but the Currency Switcher for WooCommerce plugin fails to implement these security controls. Additionally, user-supplied input is stored and subsequently rendered without proper sanitization using functions like esc_html() or esc_attr(), enabling the Stored XSS component of the attack.

Attack Vector

The attack unfolds in multiple stages. First, an attacker crafts a malicious HTML page containing a hidden form that targets the vulnerable plugin endpoint. This form includes XSS payloads in the currency configuration fields. When an authenticated WordPress administrator visits the attacker-controlled page, the form automatically submits to the vulnerable endpoint using the administrator's session cookies. The malicious JavaScript payload is then stored in the database. Subsequently, any user or administrator who views pages utilizing the currency switcher functionality will have the malicious script execute in their browser.

This vulnerability does not require authentication for the attacker, but does require interaction from an authenticated administrator to trigger the initial CSRF exploit. The stored nature of the XSS means the impact persists and affects all subsequent visitors.

Detection Methods for CVE-2025-30857

Indicators of Compromise

  • Unexpected JavaScript code or <script> tags appearing in currency switcher configuration fields
  • Suspicious outbound requests from administrator browsers to unknown external domains
  • Unusual administrative changes to plugin settings without corresponding audit log entries
  • Reports of browser warnings or unexpected redirects from WooCommerce store pages

Detection Strategies

  • Review WordPress database tables for unexpected HTML or JavaScript content in currency-related option values
  • Monitor HTTP access logs for POST requests to plugin endpoints from external referrers
  • Implement Content Security Policy (CSP) headers to detect and block inline script execution attempts
  • Deploy web application firewall (WAF) rules to detect XSS payloads in form submissions

Monitoring Recommendations

  • Enable WordPress audit logging to track all plugin configuration changes with timestamps and user attribution
  • Configure browser-based XSS auditor alerts through security headers
  • Implement real-time monitoring for database modifications to plugin option tables
  • Set up alerts for administrator sessions that submit forms with unexpected referrer headers

How to Mitigate CVE-2025-30857

Immediate Actions Required

  • Deactivate and remove the Currency Switcher for WooCommerce plugin until a patched version is available
  • Audit existing currency switcher settings for any injected malicious content
  • Review WordPress administrator accounts for any signs of compromise
  • Implement Content Security Policy headers to mitigate XSS impact as a defense-in-depth measure

Patch Information

No official patch has been confirmed at the time of this advisory. Organizations should monitor the Patchstack Vulnerability Advisory for updates regarding a security fix from the plugin developer. Consider migrating to an alternative currency switching solution that has undergone security review.

Workarounds

  • Remove the affected plugin entirely and replace with a security-audited alternative
  • Restrict WordPress administrative access to trusted IP addresses only
  • Implement additional authentication factors for WordPress administrator accounts
  • Deploy a web application firewall with CSRF and XSS protection rules enabled
bash
# WordPress configuration hardening example
# Add to wp-config.php or .htaccess

# Restrict admin access by IP (example for .htaccess)
# <Files wp-admin>
#   Order deny,allow
#   Deny from all
#   Allow from YOUR_TRUSTED_IP
# </Files>

# Add security headers via functions.php
# add_action('send_headers', function() {
#   header("Content-Security-Policy: default-src 'self'; script-src 'self'");
#   header("X-Content-Type-Options: nosniff");
#   header("X-Frame-Options: SAMEORIGIN");
# });

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

  • Vulnerability Details
  • TypeCSRF

  • Vendor/TechWoocommerce

  • SeverityNONE

  • CVSS ScoreN/A

  • EPSS Probability0.05%

  • Known ExploitedNo
  • Impact Assessment
  • ConfidentialityNone
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-352
  • Technical References
  • Patchstack Vulnerability Advisory
  • Related CVEs
  • CVE-2026-1852: WooBeWoo Pricing Table Plugin CSRF Vulnerability

  • CVE-2025-32545: WooCommerce CSRF and XSS Vulnerability

  • CVE-2025-12095: WooCommerce Registration Plugin CSRF Flaw

  • CVE-2026-3499: WooCommerce Product Feed PRO CSRF 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