Skip to main content
CVE Vulnerability Database
Vulnerability Database/CVE-2025-48342

CVE-2025-48342: WooCommerce Dynamic Pricing CSRF Vulnerability

CVE-2025-48342 is a Cross-Site Request Forgery vulnerability in Dynamic Pricing & Discounts Lite for WooCommerce that enables attackers to perform unauthorized actions. This article covers affected versions, impact, and mitigation.

Published:

CVE-2025-48342 Overview

CVE-2025-48342 is a Cross-Site Request Forgery (CSRF) vulnerability affecting the RedefiningTheWeb Dynamic Pricing & Discounts Lite for WooCommerce plugin. The flaw is tracked under [CWE-352] and affects all plugin versions up to and including 2.0.4. An attacker can craft a malicious web page or link that, once visited by an authenticated site administrator, triggers unauthorized state-changing actions on the target WordPress site. Exploitation requires user interaction but no privileges on the attacker's side. The vulnerability can lead to limited integrity and availability impact on the affected WooCommerce store.

Critical Impact

Successful exploitation lets attackers perform administrative actions on WooCommerce discount configurations through forged requests, requiring only that a logged-in administrator visits an attacker-controlled page.

Affected Products

  • RedefiningTheWeb Dynamic Pricing & Discounts Lite for WooCommerce plugin (woo-dynamic-pricing-discounts-lite)
  • All versions from initial release through 2.0.4
  • WordPress sites running WooCommerce with the affected plugin installed

Discovery Timeline

  • 2025-05-19 - CVE-2025-48342 published to NVD
  • 2026-06-17 - Last updated in NVD database

Technical Details for CVE-2025-48342

Vulnerability Analysis

The plugin fails to validate the origin of state-changing HTTP requests processed by its administrative endpoints. WordPress plugins are expected to use nonce tokens generated by wp_create_nonce() and validated with check_admin_referer() or wp_verify_nonce() to bind requests to an authenticated session. This plugin omits or improperly implements those checks on affected handlers. As a result, an attacker who convinces an authenticated administrator to load attacker-controlled content can cause the browser to issue requests to the WordPress site using the administrator's active session cookies.

The attack targets integrity and availability of the plugin's configuration data. Confidentiality is not directly impacted. The EPSS probability of near-term exploitation stands at 0.124%.

Root Cause

The root cause is missing or insufficient CSRF protection [CWE-352] on privileged plugin endpoints. Without a validated nonce or equivalent anti-CSRF token, the plugin cannot distinguish between a legitimate administrative action and a forged one delivered through a victim's browser.

Attack Vector

The attack vector is network-based and requires user interaction. An attacker hosts a malicious page containing a hidden form or JavaScript-triggered request pointed at the vulnerable plugin endpoint. When a logged-in WordPress administrator visits the page, the browser automatically attaches the session cookies for the target site. The forged request executes with the administrator's authority and modifies plugin state such as pricing rules or discount configurations.

See the Patchstack WordPress Vulnerability advisory for additional technical detail.

Detection Methods for CVE-2025-48342

Indicators of Compromise

  • Unexpected modifications to WooCommerce pricing rules or discount configurations that do not correlate with legitimate administrator activity.
  • Referer headers in web server logs pointing to external domains for POST requests to plugin admin endpoints.
  • Administrator sessions issuing plugin configuration requests shortly after visiting untrusted third-party sites.

Detection Strategies

  • Review web server access logs for POST requests to plugin endpoints under wp-admin where the Referer header is absent or references an external origin.
  • Correlate WordPress audit logs of plugin setting changes with administrator browsing history and known-good change windows.
  • Deploy a web application firewall rule to flag state-changing plugin requests missing a valid _wpnonce parameter.

Monitoring Recommendations

  • Enable WordPress activity logging plugins to capture all administrator setting changes with user, timestamp, and IP metadata.
  • Alert on any modifications to WooCommerce pricing rules occurring outside approved change windows.
  • Monitor for phishing campaigns or social engineering attempts targeting store administrators.

How to Mitigate CVE-2025-48342

Immediate Actions Required

  • Inventory WordPress deployments to identify installations of Dynamic Pricing & Discounts Lite for WooCommerce at version 2.0.4 or earlier.
  • Update the plugin to a fixed release once the vendor publishes a patched version above 2.0.4.
  • Require administrators to log out of WordPress sessions before browsing untrusted content and enforce short session lifetimes.

Patch Information

At the time of publication, the advisory lists versions through 2.0.4 as affected with no fixed version explicitly named in the NVD entry. Consult the Patchstack WordPress Vulnerability advisory for current fix status and upgrade guidance.

Workarounds

  • Deactivate and remove the plugin until a patched version is available if the discount functionality is not business-critical.
  • Restrict WordPress administrator access to a dedicated browser profile that is not used for general web browsing.
  • Deploy a web application firewall with CSRF protection rules that block requests to wp-admin endpoints lacking a valid nonce or same-origin Referer.
bash
# Example WAF rule concept for a reverse proxy protecting WordPress
# Block POST requests to wp-admin missing a same-origin Referer
if ($request_method = POST) {
    if ($http_referer !~* "^https?://your-wordpress-site\.example/") {
        return 403;
    }
}

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

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.