Description
WordPress Plugin Facebook Page Photo 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 Facebook Page Photo Gallery version 2.0.9 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
https://github.com/scaron/prettyphoto/issues/149
http://www.perucrack.net/2014/07/haciendo-un-xss-en-plugin-prettyphoto.html
Related Vulnerabilities
Python Uncontrolled Resource Consumption Vulnerability (CVE-2021-3733)
WebLogic CVE-2024-21182 Vulnerability (CVE-2024-21182)
WordPress Plugin Social Sharing-Social Warfare Malicious Code (4.4.7.1)
WordPress Plugin Better Font Awesome Cross-Site Request Forgery (2.0.1)
Jboss EAP Uncontrolled Resource Consumption Vulnerability (CVE-2016-8610)