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
Remediation
References
http://ghost.org/docs/security/#privilege-escalation-attacks
https://youtu.be/FCqWEvir2wE
Related Vulnerabilities
CVE-2018-3766 Vulnerability in npm package buttle
CVE-2021-29444 Vulnerability in npm package jose-browser-runtime
CVE-2022-39322 Vulnerability in npm package @keystone-6/core
CVE-2021-37712 Vulnerability in npm package tar
CVE-2022-27772 Vulnerability in maven package org.springframework.boot:spring-boot