{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-28397","id":"CVE-2022-28397","title":"Arbitrary file upload in Ghost","description":"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 uploaded and published by trusted users, this is intentional.","descriptionLong":"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 uploaded and published by trusted users, this is intentional.","published":"2022-04-12T16:29:06.000Z","updated":"2026-10-28T02:30:32.332443171Z","reserved":"2022-04-04T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"mitre","metric":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},"metrics":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"GitHub"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","rating":"high","source":"NVD"}],"rating":"critical","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"ghost","purl":"pkg:npm/ghost","ranges":["<=4.42.0"],"fixed":[],"advisory":"GHSA-ffhq-g856-9f2p"}],"cwes":["CWE-434"],"aliases":["BIT-ghost-2022-28397","GHSA-ffhq-g856-9f2p"],"references":[{"url":"https://ghost.org/customers/","tags":["x_refsource_MISC","x_transferred","Product","web"]},{"url":"https://github.com/TryGhost/Ghost","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","package","web"]},{"url":"https://trends.builtwith.com/cms/Ghost","tags":["x_refsource_MISC","x_transferred","Product","web"]},{"url":"https://youtu.be/PncfBetPk2g","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","web"]},{"url":"https://ghost.org/docs/security/#privilege-escalation-attacks","tags":["x_refsource_MISC","x_transferred","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/28xxx/CVE-2022-28397.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-28397","tags":["advisory"]},{"url":"https://ghost.org/customers","tags":["web"]},{"url":"http://ghost.com","tags":["web"]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.03498,"epssPercentile":0.8939,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-28397","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-28397","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-28397","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-ffhq-g856-9f2p","ok":true,"note":"GHSA-ffhq-g856-9f2p"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-28397","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}