Arbitrary file upload in magento-lts - #VU158611
Published: November 2, 2026
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary script in a victim's browser within the store's origin.
The vulnerability exists due to unrestricted upload of files with dangerous types in Mage_Catalog_Model_Product_Option_Type_File::_validateUploadedFile() when a product File custom option has an empty allowed-extension list and the web server serves media/custom_options/. A remote attacker can upload a crafted SVG, XHTML, or XML document and trick a victim into opening its URL to execute arbitrary script in the store's origin.