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