Dave Jong discovered and reported this Cross Site Scripting (XSS) vulnerability in WordPress My Super Plugin Plugin to Patchstack.
This vulnerability exists due to missing access control in the wp_nopriv_myaction WP AJAX action.
In order to reproduce it, send a POST payload to /wp-admin/admin-ajax.php with the follow POST parameters:
action:myaction
option:myoptionname
value:<script>alert(1)</script>
After this, the JavaScript script above will be executed on all pages.
No files were uploaded by the researcher.