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
phpMyAdmin Other Vulnerability (CVE-2004-1147)
WordPress Plugin WP Post to PDF Cross-Site Scripting (2.3.1)
WordPress Plugin Monsters Editor for WP Super Edit Arbitrary File Upload (1.1)
WordPress Plugin JVM WooCommerce Wishlist Unspecified Vulnerability (1.2.6)
Magento Improper Input Validation Vulnerability (CVE-2021-28585)