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
SharePoint Deserialization of Untrusted Data Vulnerability (CVE-2024-38023)
LimeSurvey Exposure of Sensitive Information to an Unauthorized Actor Vulnerability (CVE-2018-7556)
Craft CMS Improper Control of Generation of Code ('Code Injection') Vulnerability (CVE-2023-41892)
WordPress Plugin Knews Multilingual Newsletters Cross-Site Request Forgery (1.2.5)
PrestaShop Improper Authentication Vulnerability (CVE-2021-21308)