Zero-Day Advisory

Fortinet Discovers WordPress Envira Photo Gallery Plugin Cross-Site Scripting Vulnerability


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

Envira is a popular drag & drop photo gallery plugin. It has over 100,000+ active installations and also offers a premium version of the plugin.

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


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

Released Feb 18, 2020

Users should apply the solution provided by Envira Gallery Team.


Fortinet reported the vulnerability to Envira Gallery Team on February 13, 2020 

Envira Gallery Team confirmed the vulnerability on February 14, 2020 

Envira Gallery Team patched the vulnerability on February 17, 2020


This vulnerability was discovered by Vishnupriya Ilango & Zhouyuan Yang 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.