Description
WordPress Plugin UK Cookie Consent 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 UK Cookie Consent version 2.3.9 is vulnerable; prior versions may also be affected.
Remediation
Update to plugin version 2.3.10 or latest
References
https://gist.github.com/B0UG/9732614abccaf2893c352d14c822d07b
https://www.exploit-db.com/exploits/44503/
https://plugins.svn.wordpress.org/uk-cookie-consent/trunk/readme.txt
Related Vulnerabilities
WordPress Plugin Elementor Website Builder Arbitrary File Upload (3.6.2)
WordPress Plugin 360 Product Rotation Arbitrary File Upload (1.2.4)
PHP Improper Input Validation Vulnerability (CVE-2009-1272)
WordPress Plugin Video Embed SQL Injection (1.0)
WordPress Plugin Menu Image Malware/Addware Notification (2.6.9)