Critical severity · published Apr 12, 2022
CVE-2022-27139
An arbitrary file upload vulnerability in the file upload module of Ghost v4.39.0 allows attackers to execute arbitrary code via a crafted SVG file
9.8
CVSS
4%
EPSS
No
On KEV
Description
An arbitrary file upload vulnerability in the file upload module of Ghost v4.39.0 allows attackers to execute arbitrary code via a crafted SVG file. NOTE: Vendor states that as outlined in Ghost's security documentation, upload of SVGs is only possible by trusted authenticated users. The uploading of SVG files to Ghost does not represent a remote code execution vulnerability. SVGs are not executable on the server, and may only execute javascript in a client's browser - this is expected and intentional functionality
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)4.0% · higher than 91% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
GH
Ghost · Ghost
4.39.0 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2022-27139
CVE.org
https://www.cve.org/CVERecord?id=CVE-2022-27139
ghost.org
http://ghost.org/docs/security/#privilege-escalation-attacks
Exploit
https://youtu.be/FCqWEvir2wE
More from Ghost
9.8
CVE-2026-29053
Ghost Vulnerable to Remote Code Execution via Malicious Themes
9.8
CVE-2022-28397
An arbitrary file upload vulnerability in the file upload module of Ghost CMS v4.42.0 allows attackers to execute arbitrary code via a crafted file
9.1
CVE-2024-34451
Ghost through 5.85.1 allows remote attackers to bypass an authentication rate-limit protection mechanism by using many X-Forwarded-For headers with different values
9.0
CVE-2024-23724
Ghost through 5.76.0 allows stored XSS, and resultant privilege escalation in which a contributor can take over any account, via an SVG profile picture that contains JavaScript…
8.8
CVE-2026-29784
Ghost: Incomplete CSRF protections around OTC use
