CVE-2022-27139
JSON

9.8critical

Arbitrary file upload in Ghost

Severity
9.8critical CVSS:3.1 by NVD
Exploit likelihood
4.04% (higher than 90% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre
Also known as
GHSA-fvc6-qjp7-m4g4BIT-GHOST-2022-27139

Description

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. NOTE: Vendor states that as outlined in Ghost's security documentation, upload of SVGs is only possible by trusted authenticated users. The uploading of SVG files to Ghost does not represent a remote code execution vulnerability. SVGs are not executable on the server, and may only execute javascript in a client's browser - this is expected and intentional functionality

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
ghost (npm)up to 4.39.0GitHub Advisory Database
ghost ghost4.39.0NVD
ghost (Bitnami)from 4.39.0 before 4.39.1Bitnami Vulnerability Database

All scores

GitHub9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD7.5high CVSS:2.0AV:N/AC:L/Au:N/C:P/I:P/A:P
Bitnami Vulnerability Databasecritical rating

Classification

CWE-434

SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total.

What each source says

CVE List

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. NOTE: Vendor states that as outlined in Ghost's security documentation, upload of SVGs is only possible by trusted authenticated users. The uploading of SVG files to Ghost does not represent a remote code execution vulnerability. SVGs are not executable on the server, and may only execute javascript in a client's browser - this is expected and intentional functionality

GitHub Advisory Database

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.

NVD (es)

** EN DISPUTA ** Una vulnerabilidad de carga de archivos arbitraria en el módulo de carga de archivos de Ghost versión v4.39.0, permite a atacantes ejecutar código arbitrario por medio de un archivo SVG diseñado. NOTA: El proveedor afirma que, tal y como se indica en la documentación de seguridad de Ghost, la carga de SVG sólo es posible por parte de usuarios autentificados de confianza. La carga de archivos SVG en Ghost no representa una vulnerabilidad de ejecución remota de código. Los SVG no son ejecutables en el servidor, y sólo pueden ejecutar javascript en el navegador de un cliente; se trata de una funcionalidad esperada e intencionada

References

Sources

SourceRecordLicence
CVE ListCVE-2022-27139 changed 2024-08-03CVE Terms of Use
GitHub Advisory DatabaseGHSA-fvc6-qjp7-m4g4 changed 2023-12-06CC-BY-4.0
NVDCVE-2022-27139 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-GHOST-2022-27139 changed 2026-09-08Apache-2.0