Description
WordPress Plugin Cookie Notice & Consent Banner for GDPR & CCPA Compliance 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 & Consent Banner for GDPR & CCPA Compliance version 1.7.1 is vulnerable; prior versions may also be affected.
Remediation
Update to plugin version 1.7.2 or latest
References
https://sploitus.com/exploit?id=WPEX-ID:D6846774-1958-4C8D-BB64-AF0D8C46E6E7
https://plugins.svn.wordpress.org/cookie-notice-and-consent-banner/trunk/readme.txt
Related Vulnerabilities
WordPress Plugin Category and Page Icons Multiple Vulnerabilities (0.9.1)
FluxBB Use of Password Hash With Insufficient Computational Effort Vulnerability (CVE-2020-28873)
WordPress Plugin Survey Maker-Best WordPress Survey Unspecified Vulnerability (3.2.0)
WordPress Plugin Rating by BestWebSoft Cross-Site Scripting (0.1)