Authenticated code execution via unchecked import upload
Published Jan 16, 2024 · Updated Jun 20, 2025
Arbitrary file upload in Themely Theme Demo Import before 1.1.1 allows remote authenticated users to execute PHP through an import. The manual XML import option accepts a PHP file without validating its type, then stores it in the web-accessible uploads directory. Administrator privileges are required, and invoking the uploaded file executes code despite disabled file modification and editing controls.
Summary
What happened
Arbitrary file upload in Themely Theme Demo Import before 1.1.1 allows remote authenticated users to execute PHP through an import. The manual XML import option accepts a PHP file without validating its type, then stores it in the web-accessible uploads directory. Administrator privileges are required, and invoking the uploaded file executes code despite disabled file modification and editing controls.
The record
- CVE
- CVE-2022-1538
- Published
- Jan 16, 2024
- Updated
- Jun 20, 2025
- Vendor
- Themely
- Product
- Theme Demo Import
- Classifications
- CWE-94, T1505.003
- Attack vector
- network
- Privileges
- admin
Timeline
How it unfolded
- Jan 16, 2024CVE publishedPublication date reported by the CVE source.
- Jun 20, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0 <1.1.1
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Manual XML import PHP upload proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo