Description
The Schema & Structured Data for WP & AMP WordPress plugin before 1.60 does not check user capabilities on its frontend AJAX file-upload handlers and does not validate the actual content of uploaded files against the endpoint's intended media type, allowing unauthenticated users to upload any file type accepted by WordPress's media library through endpoints that should only accept images or videos.
Problem types
CWE-434 Unrestricted Upload of File with Dangerous Type
Product status
Any version before 1.60
Credits
0xBassia
WPScan
References
wpscan.com/...rability/7fac98eb-f82c-4705-a956-aba650945826/