{"id":"CVE-2022-28397","title":"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","summary":"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. NOTE: Vendor states as detailed in Ghost's security documentation, files can only be upl…","severity":"critical","cvss":9.8,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","cwe":["CWE-434"],"vendor":"ghost","product":"ghost","affected":["ghost = 4.42.0"],"published":"2022-04-12","updated":"2026-07-05","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2022-28397","references":[{"url":"https://ghost.org/customers/","label":"cve@mitre.org"},{"url":"https://ghost.org/docs/security/#privilege-escalation-attacks","label":"cve@mitre.org"},{"url":"https://github.com/TryGhost/Ghost","label":"cve@mitre.org"},{"url":"https://trends.builtwith.com/cms/Ghost","label":"cve@mitre.org"},{"url":"https://youtu.be/PncfBetPk2g","label":"cve@mitre.org"},{"url":"http://ghost.com","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://ghost.org/customers/","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://ghost.org/docs/security/#privilege-escalation-attacks","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://github.com/TryGhost/Ghost","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://trends.builtwith.com/cms/Ghost","label":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://youtu.be/PncfBetPk2g","label":"af854a3a-2127-422b-91ae-364da2661108"}],"tags":["nvd"],"epss":0.03498,"epssPercentile":0.88641,"ingestedAt":"2026-07-06T02:09:23.467Z","slug":"CVE-2022-28397","body":"## Overview\n\nAn 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. NOTE: Vendor states as detailed in Ghost's security documentation, files can only be uploaded and published by trusted users, this is intentional.\n\n## Affected\n\n- `ghost = 4.42.0`\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"midnight","depthScore":55,"depthScoreParts":{"impact":53.9,"likelihood":0.7,"exploitation":0,"ransomware":0},"changes":[]}