CVE-2022-28397 json
Arbitrary file upload in Ghost
published 4y ago modified 2mo ago also BIT-ghost-2022-28397 , EUVD-2022-1722 , GHSA-ffhq-g856-9f2p
- cvss
- 9.8
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.5%
- EPSS 3.5% chance of exploitation in 30 days, percentile 89%
- public exploits
- 0
- none known
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 uploaded and published by trusted users, this is intentional.
Patch / fix
- bitnami ghost 4.42.1
Is CVE-2022-28397 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerExploit prediction
3.50% chance of exploitation in the next 30 days, higher than 89% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- youtu.be https://youtu.be/PncfBetPk2g referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
| OSV | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | ghost | <=4.42.0 |
no fix listed |
| bitnami | ghost | >=4.42.0, <4.42.1 |
4.42.1 |
Classification
- Weakness
-
- CWE-434 Unrestricted Upload of File with Dangerous Type
References
-
youtu.be
/PncfBetPk2g
web, exploit, third-party-advisory, advisory
-
ghost.org
/customers/
product, web
-
github.com
/TryGhost/Ghost
web, third-party-advisory, advisory
-
trends.builtwith.com
/cms/Ghost
web, product
-
ghost.org
/docs/security/#privilege-escalation-attacks
web
-
nvd.nist.gov
/vuln/detail/CVE-2022-28397
advisory, web
-
ghost.org
/customers
web
-
ghost.com
web
Sources
- CVE List CVE-2022-28397
- GitHub Advisory GHSA-ffhq-g856-9f2p
- NVD CVE-2022-28397
- OSV BIT-ghost-2022-28397
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.