CVE-2025-31598 MEDIUM

CVE-2025-31598: WordPress Quantity Dynamic Pricing & Bulk Discounts for WooCommerce plugin <= 4.0.3 - Stored Cross Site Scripting (XSS) vulnerability

Vendor Wpfactory
Product Quantity Dynamic Pricing & Bulk Discounts for WooCommerce
Weakness CWE-79 · XSS
Published March 31, 2025
Last update April 28, 2026

CVSS base score

6.5/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction Required
Confidentiality Low
Integrity Low

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:L

What the vulnerability does

01Description

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') vulnerability in WPFactory Quantity Dynamic Pricing & Bulk Discounts for WooCommerce wholesale-pricing-woocommerce allows Stored XSS.This issue affects Quantity Dynamic Pricing & Bulk Discounts for WooCommerce: from n/a through <= 4.0.3.

Explanation of Vulnerability in Simple Terms

02Summary

A stored cross-site scripting (XSS) vulnerability exists in Quantity Dynamic Pricing & Bulk Discounts for WooCommerce versions up to 4.0.3. An authenticated user with low privileges can inject malicious scripts that execute in the browsers of other site visitors, potentially compromising their sessions or stealing sensitive data. The vulnerability requires user interaction and affects the entire site scope.

What an attacker can do

03Attacker Capabilities

Inject malicious scripts that run in other users' browsers, stealing session data or performing actions on their behalf.

Potential impact on your site

04Site Impact

Customers and admins visiting affected pages may have their sessions hijacked or be redirected to malicious sites without their knowledge.

Conditions required to exploit

05Prerequisites

Attacker must have a low-privilege account (e.g., customer or contributor) and the victim must visit a page containing the injected payload.

Key dates

06Disclosure timeline

March 31, 2025 CVE published
April 28, 2026 Record updated