CVE-2022-27139
highpriority · track · 40EPSS 0.040 · 91 %ileEUUSEPSS · scored 2026-10-27
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
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · high–critical · 7.5–9.8
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (4)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- GHSA-fvc6-qjp7-m4g4Arbitrary file upload in Ghost2022-04-13ghsa · osvUS
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.
- BIT-ghost-2022-271392024-03-06vendor · osvUS
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
also known as (5)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (7)
External citations — patches, advisories, analysis.
- http://ghost.org/docs/security/#privilege-escalation-attackscnnvd
- https://cxsecurity.com/cveshow/CVE-2022-27139/cnnvd
- https://youtu.be/FCqWEvir2wEcnnvd
- http://ghost.org/docs/security/#privilege-escalation-attacksenisa_euvd
- https://youtu.be/FCqWEvir2wEenisa_euvd
- http://ghost.org/docs/security/#privilege-escalation-attacksnvd
- https://youtu.be/FCqWEvir2wEExploitThird Party Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan