### [CVE-2022-1540](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2022-1540) ![](https://img.shields.io/static/v1?label=Product&message=PostmagThemes%20Demo%20Import&color=blue) ![](https://img.shields.io/static/v1?label=Version&message=%3D%200%20&color=brighgreen) ![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-434%20Unrestricted%20Upload%20of%20File%20with%20Dangerous%20Type&color=brighgreen) ### Description The PostmagThemes Demo Import WordPress plugin through 1.0.7 does not validate the imported file, allowing high-privilege users such as admin to upload arbitrary files (such as PHP) leading to RCE. ### POC #### Reference - https://wpscan.com/vulnerability/77a524d8-0b1a-407a-98d2-d8d0ed78fa0f - https://wpscan.com/vulnerability/77a524d8-0b1a-407a-98d2-d8d0ed78fa0f #### Github No PoCs found on GitHub currently.