Headline
CVE-2023-1470: Changeset 2881773 for ecommerce-product-catalog/trunk/modules/price/price-settings.php – WordPress Plugin Repository
The eCommerce Product Catalog plugin for WordPress is vulnerable to Stored Cross-Site Scripting via some of its settings parameters in versions up to, and including, 3.3.8 due to insufficient input sanitization and output escaping. This makes it possible for authenticated attackers, with administrator-level permissions and above, to inject arbitrary web scripts in pages that will execute whenever a user accesses an injected page. This only affects multi-site installations and installations where unfiltered_html has been disabled.
Timestamp:
03/17/2023 08:09:43 AM (6 hours ago)
impleCode
Message:
Translations and security fix
File:
- ecommerce-product-catalog/trunk/modules/price/price-settings.php (1 diff)
Legend:
Unmodified
Added
Removed
ecommerce-product-catalog/trunk/modules/price/price-settings.php
r2771010
r2881773
138
138
'price\_enable' => 'on',
139
139
) );
140
foreach ( $product\_currency\_settings as $settings\_key => $settings\_value ) {
141
if ( ! is\_array( $settings\_value ) ) {
142
$product\_currency\_settings\[ $settings\_key \] = sanitize\_text\_field( $settings\_value );
143
}
144
}
140
145
global $wp\_locale;
141
146
$local\['mon\_thousands\_sep'\] = isset( $wp\_locale->number\_format\['thousands\_sep'\] ) ? $wp\_locale->number\_format\['thousands\_sep'\] : ',';
Note: See TracChangeset for help on using the changeset viewer.