Description
WordPress Plugin Best Image Gallery & Responsive Photo Gallery-FooGallery is prone to a cross-site scripting vulnerability because it fails to properly sanitize user-supplied input. An attacker may leverage this issue to execute arbitrary script code in the browser of an unsuspecting user in the context of the affected site. This can allow the attacker to steal cookie-based authentication credentials and launch other attacks. WordPress Plugin Best Image Gallery & Responsive Photo Gallery-FooGallery version 1.4.31 is vulnerable; prior versions may also be affected.
Remediation
Edit the source code to ensure that input is properly sanitised or disable the plugin until a fix is available
References
Related Vulnerabilities
WordPress Plugin YITH Advanced Refund System for WooCommerce Security Bypass (1.0.10)
MediaWiki Improper Access Control Vulnerability (CVE-2016-6331)
OpenVPN AS Exposure of Sensitive Information to an Unauthorized Actor Vulnerability (CVE-2013-2061)
MySQL CVE-2021-2352 Vulnerability (CVE-2021-2352)
ownCloud Permissions, Privileges, and Access Controls Vulnerability (CVE-2014-3838)