{"id":"CVE-2022-27139","aliases":["BIT-ghost-2022-27139","GHSA-fvc6-qjp7-m4g4"],"url":"https://o3.security/vulnerability/CVE-2022-27139","summary":"Arbitrary file upload in Ghost","details":"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","published":"2022-04-12T16:28:58Z","modified":"2026-08-12T03:51:48.423982675Z","cvss":{"score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},"epss":{"score":0.0379,"percentile":0.89201,"asOf":"2026-08-23"},"cisaKev":null,"exploitsKnown":1,"affectedPackages":[{"ecosystem":"npm","name":"ghost","fixedVersion":null}],"fix":null,"references":[{"type":"WEB","url":"http://ghost.org/docs/security/#privilege-escalation-attacks"},{"type":"WEB","url":"https://youtu.be/FCqWEvir2wE"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/27xxx/CVE-2022-27139.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-27139"},{"type":"PACKAGE","url":"https://github.com/TryGhost/Ghost"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:48.423982675Z"}}