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 NewsPlugin Cross-Site Request Forgery (1.0.18)
Drupal Numeric Errors Vulnerability (CVE-2007-5416)
MediaWiki Other Vulnerability (CVE-2006-0322)
PHP Use After Free Vulnerability (CVE-2016-9138)
Envoy Proxy Improper Check for Unusual or Exceptional Conditions Vulnerability (CVE-2021-32780)