Description
WordPress Plugin Cookie Notice & Compliance for GDPR/CCPA 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 Cookie Notice & Compliance for GDPR/CCPA version 2.1.1 is vulnerable; prior versions may also be affected.
Remediation
Update to plugin version 2.1.2 or latest
References
https://sploitus.com/exploit?id=WPEX-ID:38053E05-4B17-4FA9-ACD3-85D8529B202B
https://plugins.svn.wordpress.org/cookie-notice/trunk/readme.txt
Related Vulnerabilities
WordPress Plugin The Plus Addons for Elementor Cross-Site Scripting (4.1.11)
WordPress Plugin Sender by BestWebSoft Cross-Site Scripting (1.2.0)
WordPress Plugin FavIcon Switcher Cross-Site Request Forgery (1.2.11)
WordPress Plugin InstaWP Connect-1-click WP Staging & Migration Security Bypass (0.1.0.44)