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
b2evolution Improper Input Validation Vulnerability (CVE-2017-1000423)
WordPress Plugin Cookie Information-Free GDPR Consent Solution Cross-Site Scripting (1.5.5)
WebLogic CVE-2021-2403 Vulnerability (CVE-2021-2403)
WordPress Plugin Users Ultra Membership Arbitrary File Upload (1.5.58)
OpenSSL Access of Resource Using Incompatible Type ('Type Confusion') Vulnerability (CVE-2024-6119)