Description
WordPress Plugin Easy Image Gallery 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 Easy Image Gallery version 1.1.1 is vulnerable; prior versions may also be affected.
Remediation
Update to plugin version 1.1.2 or latest
References
https://blog.anantshri.info/forgotten_disclosure_dom_xss_prettyphoto
https://github.com/wpscanteam/wpscan/issues/818
https://github.com/scaron/prettyphoto/issues/149
http://www.perucrack.net/2014/07/haciendo-un-xss-en-plugin-prettyphoto.html
Related Vulnerabilities
WordPress Plugin UPM Polls 'PID' Parameter SQL Injection (1.0.4)
OpenSSL Exposure of Sensitive Information to an Unauthorized Actor Vulnerability (CVE-2016-2107)
WordPress Plugin MasterStudy LMS-for Online Courses and Education Local File Inclusion (3.3.3)
Magento Improper Input Validation Vulnerability (CVE-2019-7898)