Magento vulnerable to file upload attack
High severity
GitHub Reviewed
Published
May 24, 2022
to the GitHub Advisory Database
•
Updated Nov 7, 2025
Description
Published by the National Vulnerability Database
Sep 1, 2021
Published to the GitHub Advisory Database
May 24, 2022
Reviewed
Nov 7, 2025
Last updated
Nov 7, 2025
Magento Commerce versions 2.4.2 (and earlier), 2.4.2-p1 (and earlier) and 2.3.7 (and earlier) are affected by an improper input validation vulnerability. An attacker with admin privileges could upload a specially crafted file in the 'pub/media` directory could lead to remote code execution.
References