{"schemaVersion":3,"id":"CVE-2022-28397","aliases":["GHSA-ffhq-g856-9f2p","BIT-ghost-2022-28397"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2022-04-12T16:29:06.000Z","modified":"2026-07-09T00:18:33.337Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.8,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"OSV · Npm","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","exploitability":10,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","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","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":7.5,"severity":"high","vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.03498,"percentile":0.89027,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.03498},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.03498,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.03498,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.03498,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.03498,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.03498,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.03498,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.03498,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.03498,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.03498,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.03498,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.03498,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.03498,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.03498,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.03498,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.03498,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.03498,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.03498,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.03498,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.03498,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.03498,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.03498,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.03498,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.03498,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.03498,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.03498,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.03498,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.03498,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.03498,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.03498,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.03498,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.03498,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.03498,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.03498,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.03498,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.03498,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.03498,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.03498,"percentile":0.89027}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.03498,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.03498,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.03498,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.03498,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.03498,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.03498,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.03498,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.03498,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.03498,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.03498,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.03498,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.03498,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.03498,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.03498,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.03498,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.03498,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.03498,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.03498,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.03498,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.03498,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.03498,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.03498,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.03498,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.03498,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.03498,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.03498,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.03498,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.03498,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.03498,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.03498,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.03498,"percentile":0.89027}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_1C27EF616698461A","name":"Exploit Reference (youtu.be)","source":"reference","url":"https://youtu.be/PncfBetPk2g","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-434","name":"Unrestricted Upload of File with Dangerous Type","description":"The product allows the upload or transfer of dangerous file types that are automatically processed within its environment.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/434.html"}],"affected":[{"vendor":"ghost","product":"ghost","name":"ghost","label":"ghost","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"4.42.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"4.42.0","eol":null,"hubHref":"/vendor/ghost/ghost"},{"vendor":"Npm","product":"ghost","name":"ghost","label":"ghost","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/ghost","purlType":"npm","versions":[{"text":"≤ 4.42.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≤ 4.42.0","eol":null,"hubHref":null}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://ghost.org/customers/","label":"ghost.org/customers/","hostname":"ghost.org","tags":["Product"]},{"url":"https://github.com/TryGhost/Ghost","label":"github.com/TryGhost/Ghost","hostname":"github.com","tags":["WEB","Third Party Advisory"]},{"url":"https://trends.builtwith.com/cms/Ghost","label":"trends.builtwith.com/cms/Ghost","hostname":"trends.builtwith.com","tags":["WEB","Product"]},{"url":"https://youtu.be/PncfBetPk2g","label":"youtu.be/PncfBetPk2g","hostname":"youtu.be","tags":["WEB","Exploit","Third Party Advisory"]},{"url":"https://ghost.org/docs/security/#privilege-escalation-attacks","label":"ghost.org/docs/security/","hostname":"ghost.org","tags":["WEB"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-28397","label":"nvd.nist.gov/vuln/detail/CVE-2022-28397","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://ghost.org/customers","label":"ghost.org/customers","hostname":"ghost.org","tags":["WEB"]},{"url":"http://ghost.com","label":"ghost.com","hostname":"ghost.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2022-04-12T16:29:06.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-07-09T00:18:33.337Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T12:40:41.279Z","stale":false,"partial":false}}