Zero-Day Advisory

Fortinet Discovers WordPress Modula Image Gallery Stored XSS Vulnerability


Fortinet's FortiGuard Labs has discovered a stored cross-site scripting (XSS) vulnerability in the WordPress Modula Image Gallery plugin.

Modula is the best WordPress gallery plugin for adding custom, unique and responsive galleries to your website. There are a free version of Modula available (Modula Lite) and a premium version (Modula Pro) both of which allow you to add amazing, fast-loading galleries to your website.

A stored XSS vulnerability exists in the version of the plugin 2.2.4. Successful exploitation of this vulnerability would allow an authenticated low-privileged user to inject arbitrary JavaScript code into the plugin gallery image which are viewed by other users.


FortiGuard Labs released the following FortiGate IPS signature which covers this specific vulnerability:

Released Feb 13, 2020

Users should update the plugin to the latest version (2.2.5).


Fortinet reported the vulnerability to MachoThemes on February 12, 2020 

MachoThemes confirmed the vulnerability on  February 12, 2020 

MachoThemes patched the vulnerability on  February 13, 2020 


This vulnerability was discovered by Vishnupriya Ilango of Fortinet's FortiGuard Labs.

IPS Subscription

Fortinet customers who subscribe to Fortinet's intrusion prevention (IPS) service should be protected against this vulnerability with the appropriate configuration parameters in place. Fortinet's IPS service is one component of FortiGuard Subscription Services, which also offer comprehensive solutions such as antivirus, Web content filtering and antispam capabilities. These services enable protection against threats on both application and network layers. FortiGuard Services are continuously updated by FortiGuard Labs, which enables Fortinet to deliver a combination of multi-layered security intelligence and true zero-day protection from new and emerging threats. These updates are delivered to all FortiGate, FortiMail and FortiClient products. Fortinet strictly follows responsible disclosure guidelines to ensure optimum protection during a threat's lifecycle.