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-2017-18077 Vulnerability in npm package brace-expansion
CVE-2020-6449 Vulnerability in npm package electron
CVE-2021-25738 Vulnerability in maven package io.kubernetes:client-java-parent
CVE-2019-5413 Vulnerability in npm package morgan
CVE-2023-0044 Vulnerability in maven package io.quarkus:quarkus-security-webauthn