Description
WordPress Plugin WP Instagram-Best Instagram Feeds 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 Instagram-Best Instagram Feeds version 1.0.19 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
WordPress Plugin Database Backups Cross-Site Request Forgery (1.2.2.6)
Drupal Core 8.9.x Remote Code Execution (8.9.0 - 8.9.8)
WordPress Plugin WOOCS-Currency Switcher for WooCommerce Professional Cross-Site Scripting (1.1.5.1)
MediaWiki Improper Access Control Vulnerability (CVE-2015-8001)
Internet Information Services Other Vulnerability (CVE-2003-0718)