Lucene search

K
wpexploitMesut CetinWPEX-ID:FA7E2B64-CA48-4B76-A2C2-F5E31E42EAB7
HistoryDec 15, 2022 - 12:00 a.m.

WP CSV <= 1.8.0.0 - Reflected XSS via CSV Import

2022-12-1500:00:00
Mesut Cetin
56
wordpress
csv
import
reflected xss
file
csrf
exploit

EPSS

0.001

Percentile

40.6%

The plugin does not sanitize and escape a parameter before outputting it back in the page when importing a CSV, and doe snot have CSRF checks in place as well, leading to a Reflected Cross-Site Scripting.

Create a .txt file and the below line there:
 
$ echo "<script>alert(/XSS/)</script>"
 
Make a logged in admin import the file (via "WP CSV" > "Import") to trigger the XSS

The attack could also be performed via CSRF

EPSS

0.001

Percentile

40.6%

Related for WPEX-ID:FA7E2B64-CA48-4B76-A2C2-F5E31E42EAB7