Description
WordPress Plugin Code Snippets 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 Code Snippets version 2.6.1 is vulnerable; prior versions may also be affected.
Remediation
Update to plugin version 2.7.0 or latest
References
https://sumofpwn.nl/advisory/2016/cross_site_scripting_in_code_snippets_wordpress_plugin.html
https://packetstormsecurity.com/files/138034/WordPress-Code-Snippets-2.6.1-Cross-Site-Scripting.html
Related Vulnerabilities
MediaWiki Permissions, Privileges, and Access Controls Vulnerability (CVE-2010-1190)
WordPress Plugin KNR Author List Widget 'listItem[]' Parameter SQL Injection (2.0.0)
WordPress Plugin Ultimate Maps by Supsystic Cross-Site Scripting (1.2.4)
GlassFish Improper Authentication Vulnerability (CVE-2017-1000030)