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

CVE-2022-27139: 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 v4.39.0 allows attackers to execute arbitrary code via a crafted SVG file.

References

  • nvd.nist.gov/vuln/detail/CVE-2022-27139
  • youtu.be/FCqWEvir2wE

Code Behaviors & Features

Detect and mitigate CVE-2022-27139 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.39.0

Fixed versions

  • 4.39.1

Solution

Upgrade to version 4.39.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-27139.yml

Spotted a mistake? Edit the file on GitLab.

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

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