Description
WordPress Plugin myTreasures 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 myTreasures version 2.4.10 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://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
MySQL CVE-2017-3320 Vulnerability (CVE-2017-3320)
Oracle JRE CVE-2012-0503 Vulnerability (CVE-2012-0503)
Roundcube Multiple Cross-site Request Forgery (CSRF) Vulnerabilities (CVE-2014-9587)
WordPress Plugin Post to CSV by BestWebSoft Cross-Site Scripting (1.3.0)
WordPress Plugin Edwiser Bridge-WordPress Moodle LMS Integration Unspecified Vulnerability (2.0.7)