WooCommerce Dynamic Pricing and Discounts <= 2.4.1 - Stored Cross-Site Scripting

2021-08-31 00:00
Jerome Bruandet

Strategic Overview

Status
Patched in 2.4.2
Affected Version< 2.4.2
CVSS6.5Medium
CVECVE-2021-4372
View all WooCommerce Dynamic Pricing and Discounts vulnerabilities

Vulnerability Overview

The WooCommerce Dynamic Pricing and Discounts plugin for WordPress is vulnerable to Stored Cross-Site Scripting in versions up to, and including, 2.4.1. This is due to missing sanitization on the settings imported via the import() function. This makes it possible for unauthenticated attackers to import a settings file containing malicious JavaScript that would execute when an administrator accesses the settings area of the site.

Technical Analysis

REMEDIATION: Update to version 2.4.2, or a newer patched version --- IDENTIFIER: CWE-79 (Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

External References

Vulnerability data © Defiant, Inc., provided under the Wordfence Intelligence T&C