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
Ruby on Rails CVE-2019-5418 Vulnerability (CVE-2019-5418)
WordPress Plugin SEO Redirection-301 Redirect Manager SQL Injection (8.1)
WordPress Plugin WP Yelp Review Slider SQL Injection (7.0)
Oracle Application Server Other Vulnerability (CVE-2002-0947)
WordPress Plugin LayerSlider Responsive WordPress Slider Cross-Site Request Forgery (4.6.1)