CWE
434
Advisory Published
Updated

CVE-2022-27139: Malicious File Upload

First published: Tue Apr 12 2022(Updated: )

** DISPUTED ** 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.

Credit: cve@mitre.org cve@mitre.org

Affected SoftwareAffected VersionHow to fix
Ghost Ghost Node.js=4.39.0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2022-27139?

    CVE-2022-27139 is considered a high severity vulnerability due to its potential for arbitrary file upload and code execution.

  • How do I fix CVE-2022-27139?

    To mitigate CVE-2022-27139, ensure that file uploads are restricted to trusted authenticated users and consider disabling SVG uploads if not necessary.

  • What versions of Ghost are affected by CVE-2022-27139?

    CVE-2022-27139 specifically affects Ghost version 4.39.0.

  • Can CVE-2022-27139 be exploited by unauthenticated users?

    According to the vendor, CVE-2022-27139 can only be exploited by trusted authenticated users.

  • What type of file can be used in an attack for CVE-2022-27139?

    An attacker can exploit CVE-2022-27139 by uploading a crafted SVG file to execute arbitrary code.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203