CVE-2022-28397
CRITICAL 9.8CVSS 3.1Arbitrary file upload in Ghost
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
- 12 Apr 2022
- Last modified
- 9 Jul 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-434
- Also known as
- BIT-ghost-2022-28397GHSA-ffhq-g856-9f2p
- Sources
- NVDJSONOSV GHSA-ffhq-g856-9f2pJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | ghost | ghostcpe:2.3:a:ghost:ghost:4.42.0:*:*:*:*:node.js:*:* |
= 4.42.0 | |
| OSV | npm | ghost | <= 4.42.0 |
References
- https://ghost.org/customers/ · Product, WEB
- https://ghost.org/docs/security/#privilege-escalation-attacks · WEB
- https://github.com/TryGhost/Ghost · Third Party Advisory, WEB
- https://trends.builtwith.com/cms/Ghost · Product, WEB
- https://youtu.be/PncfBetPk2g · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-28397 · ADVISORY
- http://ghost.com · WEB
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 12 Apr 2022)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 13 Apr 2022)