WordPress Plugin Vulnerabilities

WP CSV <= 1.8.0.0 - Reflected XSS via CSV Import

Description

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.

Proof of Concept

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

Affects Plugins

No known fix

References

Classification

Type
XSS
CWE

Miscellaneous

Original Researcher
Mesut Cetin
Submitter
Mesut Cetin
Submitter website
Verified
Yes

Timeline

Publicly Published
2022-12-15 (about 1 years ago)
Added
2022-12-14 (about 1 years ago)
Last Updated
2022-12-14 (about 1 years ago)

Other