8.8
CWE
434 79
Advisory Published
Advisory Published
Updated

CVE-2022-32114: Malicious File Upload

First published: Wed Jul 13 2022(Updated: )

** DISPUTED ** An unrestricted file upload vulnerability in the Add New Assets function of Strapi 4.1.12 allows attackers to conduct XSS attacks via a crafted PDF file. NOTE: the project documentation suggests that a user with the Media Library "Create (upload)" permission is supposed to be able to upload PDF files containing JavaScript, and that all files in a public assets folder are accessible to the outside world (unless the filename begins with a dot character). The administrator can choose to allow only image, video, and audio files (i.e., not PDF) if desired.

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

Affected SoftwareAffected VersionHow to fix
Strapi Strapi=4.1.12
npm/@strapi/strapi<=4.1.12
=4.1.12

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 CVE-2022-32114?

    CVE-2022-32114 is an unrestricted file upload vulnerability in the Add New Assets function of Strapi 4.1.12 that allows attackers to conduct XSS attacks via a crafted PDF file.

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

    The severity of CVE-2022-32114 is rated as high with a CVSS score of 8.8.

  • How does CVE-2022-32114 affect Strapi?

    CVE-2022-32114 affects Strapi version 4.1.12.

  • How can an attacker exploit CVE-2022-32114?

    An attacker can exploit CVE-2022-32114 by uploading a crafted PDF file through the Add New Assets function and conduct XSS attacks.

  • Are there any fixes or patches available for CVE-2022-32114?

    Strapi has not released any specific fixes or patches for CVE-2022-32114. It is recommended to follow secure coding practices and ensure user input is properly validated and sanitized.

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.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203