Fortinet Discovers WordPress Gallery Bank Plugin Cross-Site Scripting Vulnerability


Fortinet's FortiGuard Labs has discovered a cross-site scripting (XSS) vulnerability in WordPress Gallery Bank Plugin.

Gallery Bank is a powerful photo gallery plugin with over 10,000+ installations. It is designed with advanced features to showcase image galleries in the most beautiful and authentic way.

A stored XSS vulnerability exists in Gallery Bank Plugin 4.0.50 and below. Any low privileged user with gallery bank access (Author+) can inject arbitrary javascript code in add gallery form.


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

Released Jun 06, 2022

Stop using this vulnerable plugin since it's not updated any more. 


Fortinet reported the vulnerability on Oct 29, 2021

The issue escalated to WordPress Plugins Team on Nov 9, 2021

The Plugin closed by WordPress Plugins Team on Dec 9, 2021


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.