Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. ghost
  4. ›
  5. CVE-2022-28397

CVE-2022-28397: Unrestricted Upload of File with Dangerous Type

April 12, 2022 (updated November 7, 2023)

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.

References

  • ghost.com/
  • ghost.org/customers/
  • github.com/TryGhost/Ghost
  • nvd.nist.gov/vuln/detail/CVE-2022-28397
  • trends.builtwith.com/cms/Ghost
  • youtu.be/PncfBetPk2g

Code Behaviors & Features

Detect and mitigate CVE-2022-28397 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

Version 4.42.0

Fixed versions

  • 4.42.1

Solution

Upgrade to version 4.42.1 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-434: Unrestricted Upload of File with Dangerous Type

Source file

npm/ghost/CVE-2022-28397.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:16 +0000.