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-2020-7691 Vulnerability in npm package jspdf
CVE-2021-30246 Vulnerability in maven package org.webjars.npm:jsrsasign
CVE-2022-25912 Vulnerability in npm package simple-git
CVE-2022-31129 Vulnerability in maven package org.webjars.bower:moment
CVE-2022-25312 Vulnerability in maven package org.apache.any23:apache-any23