Description
WordPress Plugin Cookie Law Bar 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 Law Bar version 1.2.1 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 Generate PDF using Contact Form 7 Cross-Site Scripting (3.5)
WordPress Plugin Flat Preloader Cross-Site Scripting (1.5.4)
WordPress Plugin Tera Charts Multiple Local File Inclusion Vulnerabilities (0.1)
MongoDb Incorrect Comparison Vulnerability (CVE-2019-20925)
WordPress Plugin Galleries by Angie Makes Cross-Site Scripting (1.67)