CVE-2022-1538
WordPress vulnerability analysis and mitigation

Overview

The Theme Demo Import WordPress plugin before version 1.1.1 contains a critical security vulnerability that allows high-privilege users such as administrators to upload arbitrary files (including PHP files) even when FILE_MODS and FILE_EDIT are disallowed. This vulnerability was assigned CVE-2022-1538 and was discovered in late 2022 (WPScan).

Technical details

The vulnerability stems from insufficient file validation during the demo import process. The plugin fails to properly validate imported files, which enables the upload of potentially malicious files like PHP scripts. The vulnerability has been assigned a CVSS v3.1 base score of 7.2 (HIGH) with the vector string CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H. It is classified under CWE-434 (Unrestricted Upload of File with Dangerous Type) (NVD).

Impact

The vulnerability could allow authenticated administrators to bypass file upload restrictions and upload arbitrary files, including malicious PHP files, even when WordPress file modification and editing capabilities are explicitly disabled. This could potentially lead to remote code execution on the affected WordPress installation (WPScan).

Mitigation and workarounds

The vulnerability has been patched in version 1.1.1 of the Theme Demo Import plugin. Users are strongly advised to update to this version or later to mitigate the security risk (WPScan).

Additional resources


SourceThis report was generated using AI

Related WordPress vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-47552CRITICAL9.8
  • dzs-videogallery
NoNoJan 07, 2026
CVE-2025-46494HIGH7.1
  • widgetkit-pro
NoNoJan 07, 2026
CVE-2025-46434MEDIUM6.5
  • theplus_elementor_addon
NoYesJan 07, 2026
CVE-2025-14275MEDIUM6.4
  • jeg-elementor-kit
NoYesJan 08, 2026
CVE-2025-12640MEDIUM4.3
  • folders
NoYesJan 08, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management