Skip to content
Heist/ feed
Back to feed
Unrated

Security advisory

Type: advisorySources: OSVCVE: CVE-2022-28397

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2022-28397
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 00:48 UTC · Revision 1

Source evidence

CVE-2022-28397

core-osv · Original source

Published 12 Apr 2022, 16:29 UTC

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.

osv:CVE-2022-28397
Complete source record
{
  "id": "446f85947f1be31de3ad786793009e17ecfc8785f781161807f53c73839de75d",
  "url": "https://osv.dev/vulnerability/CVE-2022-28397",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2022-28397",
    "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.",
    "evidence": "osv:CVE-2022-28397",
    "products": [],
    "severity": "unknown",
    "structured": {
      "id": "CVE-2022-28397",
      "aliases": [
        "BIT-ghost-2022-28397",
        "CVE-2022-28397",
        "GHSA-ffhq-g856-9f2p"
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/tryghost/ghost",
              "type": "GIT",
              "events": [
                {
                  "introduced": "2fdf8fd4b6c3f6d094d48df137dcb7a40f797b61"
                },
                {
                  "last_affected": "2fdf8fd4b6c3f6d094d48df137dcb7a40f797b61"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:ghost:ghost:4.42.0:*:*:*:*:node.js:*:*",
                    "range": [
                      {
                        "introduced": "4.42.0"
                      },
                      {
                        "last_affected": "4.42.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "4.42.0",
            "v4.42.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-28397.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:32.332443171Z",
      "provider": "osv",
      "references": [
        "https://ghost.org/customers/",
        "https://ghost.org/docs/security/#privilege-escalation-attacks",
        "https://trends.builtwith.com/cms/Ghost",
        "https://youtu.be/PncfBetPk2g",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/28xxx/CVE-2022-28397.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2022-28397",
        "https://github.com/TryGhost/Ghost"
      ],
      "provider_metadata": {
        "isDisputed": true,
        "cna_assigner": "mitre",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/28xxx/CVE-2022-28397.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2022-28397",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 499372,
  "published_at": "2022-04-12T16:29:06+00:00"
}