Code execution via trusted-user file uploads
Published Apr 12, 2022 · Updated Jul 9, 2026
Arbitrary file upload in Ghost CMS 4.42.0 allows remote authenticated users to publish crafted files that execute code. The public record names only the file-upload module and does not identify a faulty function or validation step; Ghost states that trusted content creators intentionally can upload scripts, SVGs, embedded content, and other files. Exploitation therefore requires a site owner or administrator to invite the user as trusted staff, and the reported consequence is code execution through published content.
Summary
What happened
Arbitrary file upload in Ghost CMS 4.42.0 allows remote authenticated users to publish crafted files that execute code. The public record names only the file-upload module and does not identify a faulty function or validation step; Ghost states that trusted content creators intentionally can upload scripts, SVGs, embedded content, and other files. Exploitation therefore requires a site owner or administrator to invite the user as trusted staff, and the reported consequence is code execution through published content.
The record
- CVE
- CVE-2022-28397
- Published
- Apr 12, 2022
- Updated
- Jul 9, 2026
- Vendor
- Unknown vendor
- Product
- Unknown product
- Classifications
- CWE-434, T1190
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Apr 12, 2022CVE publishedPublication date reported by the CVE source.
- Jul 9, 2026Record 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?
What conditions does exploitation require?
What is affected?
Affected products and versions are unavailable in this record.
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
- Referenced file-upload exploit videoproof of concept · unverified
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