Description
WordPress Plugin EU Cookie Law 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 EU Cookie Law for GDPR/CCPA version 3.1.6 is vulnerable; prior versions may also be affected.
Remediation
Edit the source code to ensure that input is properly sanitised or disable the plugin until a fix is available
References
Related Vulnerabilities
WordPress Plugin Embed Youtube Video SQL Injection (1.0)
WordPress Plugin wp superb Slideshow Arbitrary File Upload (2.4)
PostgreSQL Exposure of Sensitive Information to an Unauthorized Actor Vulnerability (CVE-2015-3167)
WordPress Plugin WordPress WP-Advanced-Search SQL Injection (3.3.6)
WordPress Plugin Startklar Elementor Addons Arbitrary File Deletion (1.7.13)