Zero-Day Advisory

Fortinet Discovers Multiple Cross Site Scripting Vulnerabilities in WordPress Gmedia Gallery Plugin


Fortinet's FortiGuard Labs has discovered multiple cross-site scripting (XSS) vulnerabilities in WordPress Gmedia Gallery plugin.

Gmedia Gallery plugin provides a comprehensive interface for handling galleries, images, video & audio files. With Gmedia Gallery plugin, you can upload an unlimited number of photo and audio files, create dozens of galleries and playlists, group pictures and other files in albums, add tags for each file.

Multiple XSS vulnerabilities have been discovered in Gmedia Gallery plugin (version 1.18.0). These vulnerabilities are caused by improper validation of user input in the album, gallery, category and media upload module. The vulnerability types include both stored and reflected XSS.


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

Released Apr 24, 2020

Upgrade to the latest GMedia Photo Gallery Plugin version  - V1.18.5


Fortinet reported the vulnerabilities to on March 23,  2020

Codeeasily confirmed the security fix on April 27, 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.