Vulnerability · Published Apr 12, 2022 · Assigned by mitre
CVE-2022-27139
Critical 9.8
In plain English
A critical-severity security flaw in the ghost package (npm). Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 4.0% (higher than 91% of all known vulnerabilities).
Official 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
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | ghost | no fix listed | GHSA-fvc6-qjp7-m4g4 |
Affected products (as reported)
References
- https://youtu.be/FCqWEvir2wE x_refsource_MISC
- http://ghost.org/docs/security/#privilege-escalation-attacks x_refsource_MISC