OpenMage magento-lts stored XSS in product File custom options
OpenMage magento-lts
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| OpenMage magento-lts |
|
|
| OpenMage magento-lts |
|
|
Original description
OpenMage magento-lts before 20.18.2 and 21.0.0-beta1 before 21.0.0-beta3 contains a stored cross-site scripting vulnerability in Mage_Catalog_Model_Product_Option_Type_File, which accepts guest SVG, XHTML, or XML uploads through product File custom options with an empty allowed-extension list. Unauthenticated attackers can send the file URL under media/custom_options/ to victims, executing script in the store origin and exposing administrator sessions when the admin panel shares that origin.