Description
WordPress Plugin WP Portfolio 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 WP Portfolio Gallery version 1.0.0 is vulnerable.
Remediation
Update to plugin version 1.2.0 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