Zero-Day Advisory
Fortinet Discovers Magento Commerce Cross-Site Scripting Vulnerability
Summary
Fortinet's FortiGuard Labs has discovered a Cross-Site Scripting (XSS) vulnerability in Magento.
Magento is an e-commerce platform written in PHP. According to the Alexa top 1M e-commerce platforms for 2018, the e-commerce platform Magento Commerce currently enjoys more than a 14% market share, making it the second largest e-commerce platform in the world.
A XSS vulnerability has been discovered in Magento Commerce 2.1 prior to 2.1.16, Magento Commerce 2.2 prior to 2.2.7. It is caused by failing to sanitize user-supplied data before inserting it into a dynamically generated widget form.
Solutions
FortiGuard Labs released the following FortiGate IPS signature which covers this specific vulnerability:Adobe.Magento.Widget.XSS
Released Oct 03, 2018
Users should apply the solution provided by Magento.
Timeline
Fortinet reported the vulnerability to Magento on September 27, 2018.
Magento confirmed the vulnerability on October 1, 2018.
Magento patched the vulnerability on November 28, 2018.
Acknowledgement
This vulnerability was discovered by Zhouyuan Yang of Fortinet's FortiGuard Labs.