Skip to content
OpenAdvisories
Critical · 9.8 CVE-2022-27139 BIT-ghost-2022-27139EUVD-2022-1727GHSA-fvc6-qjp7-m4g4

Arbitrary file upload in Ghost

Published Apr 12, 2022 · Updated Aug 3, 2024 · Assigned by mitre

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 packages

EcosystemPackageAffectedFixedRecord
npm ghost <= 4.39.0 — GHSA-fvc6-qjp7-m4g4

References