{"id":"CVE-2022-27139","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","aliases":["BIT-ghost-2022-27139","GHSA-fvc6-qjp7-m4g4"],"modified":"2026-08-12T03:51:48.423982675Z","published":"2022-04-12T16:28:58Z","database_specific":{"isDisputed":true,"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/27xxx/CVE-2022-27139.json","cna_assigner":"mitre"},"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"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/tryghost/ghost","events":[{"introduced":"3db963c540d0cd20a1ee6df546a505f17d27c18e"},{"last_affected":"3db963c540d0cd20a1ee6df546a505f17d27c18e"}],"database_specific":{"cpe":"cpe:2.3:a:ghost:ghost:4.39.0:*:*:*:*:node.js:*:*","extracted_events":[{"introduced":"4.39.0"},{"last_affected":"4.39.0"}],"source":"CPE_STRING"}}],"versions":["4.39.0","v4.39.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-27139.json"}}],"schema_version":"1.9.0"}