CVE-2022-1540: The PostmagThemes Demo Import WordPress plugin through 1.0.7 does not validate the imported file, allowing hig
CVE-2022-1540 is a high-severity flaw (CVSS 7.2) affecting postmagthemes demo import. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- High severity
- Public exploit reference
A fixed release or distro patch exists.
Risk facts
| CVSS score | 7.2 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | High |
| User interaction | None |
| EPSS exploit chance | 1.1% (top 34%) |
| CISA exploited list | No |
| Published | 2022-12-05 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2022-1540?
postmagthemes demo import: upgrade to newer than 1.0.7. Exact commands for each OS are on this page.
Is CVE-2022-1540 being exploited?
CVE-2022-1540 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2022-1540 affect?
CVE-2022-1540 affects postmagthemes demo import. Severity is high (CVSS 7.2). 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.
How urgent is CVE-2022-1540?
Priority 47/100. High severity; Public exploit reference
Software pages
WordPress vulnerabilities · PHP vulnerabilities