Lucene search

K
wpvulndbWpvulndbWPVDB-ID:1793361E-3EEC-44FF-BF2E-A5CEB48591EC
HistoryOct 28, 2020 - 12:00 a.m.

Greenmart < 2.4.3 - Reflected Cross-Site Scripting (XSS)

2020-10-2800:00:00
wpscan.com
12

0.001 Low

EPSS

Percentile

37.5%

The greenmart_autocomplete_search AJAX action, available to both authenticated and unauthenticated users does not properly sanitise the callback parameter passed to it, resulting in a reflected Cross-Site Scripting issue. Edit (WPScanTeam): The vendor ‘fixed’ the issue for authenticated users by adding a nonce rather than escaping the callback parameter. However, the issue still remains for unauthenticated users, the vendor has been notified via Envato and another advisory will be released with the details once fixed.

PoC

http://localhost/wp-admin/admin-ajax.php?callback=-->'"><svg/onload=alert(/XSS/)>&amp;action;=greenmart_autocomplete_search&amp;term;=defaultText

CPENameOperatorVersion
greenmartlt2.4.3

0.001 Low

EPSS

Percentile

37.5%

Related for WPVDB-ID:1793361E-3EEC-44FF-BF2E-A5CEB48591EC