WordPress Plugin Cookie Law Bar 1.2.1 - 'clb_bar_msg' Stored Cross-Site Scripting (XSS)
| Reporter | Title | Published | Views | Family All 10 |
|---|---|---|---|---|
| CVE-2021-47957 | 16 May 202615:26 | – | attackerkb | |
| CVE-2021-47957 | 16 May 202616:39 | – | circl | |
| WordPress plugin Cookie Law Bar has a cross-site scripting vulnerability | 16 May 202600:00 | – | cnnvd | |
| CVE-2021-47957 | 16 May 202615:26 | – | cve | |
| CVE-2021-47957 WordPress Plugin Cookie Law Bar 1.2.1 Stored XSS via clb_bar_msg | 16 May 202615:26 | – | cvelist | |
| EUVD-2021-34825 | 16 May 202615:26 | – | euvd | |
| CVE-2021-47957 | 16 May 202616:16 | – | nvd | |
| PT-2026-41454 | 16 May 202600:00 | – | ptsecurity | |
| CVE-2021-47957: Improper Neutralization of Input During Web Page Generation | 16 May 202600:00 | – | rapid7 | |
| CVE-2021-47957 WordPress Plugin Cookie Law Bar 1.2.1 Stored XSS via clb_bar_msg | 16 May 202615:26 | – | vulnrichment |
# Exploit Title: WordPress Plugin Cookie Law Bar 1.2.1 - 'clb_bar_msg' Stored Cross-Site Scripting (XSS)
# Date: 2021-05-24
# Exploit Author: Mesut Cetin
# Vendor Homepage: https://www.cookielawinfo.com/wordpress-plugin/
# Software Link: https://wordpress.org/plugins/cookie-law-bar/
# Version: 1.2.1
# Tested on: Ubuntu 16.04 LTS, Wordpress 5.7.2
# the "Bar Message" text field is vulnerable to stored XSS due to unsanitized user input
# an authenticated attacker can retrieve cookies / sensitive data of all Wordpress users
# proof of concept
# navigate to the settings of the Cookie Law Bar under
http://localhost/wp-admin/options-general.php?page=clb
# inject the payload: </script><script>alert(document.cookie)</script> into the "Bar Message field" and save it
# browsing through the Wordpress pages shows the cookiesData
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation
23 Nov 2026 00:00Current
5.3Medium risk
Vulners AI Score5.3
CVSS 45.1
CVSS 3.16.4
EPSS0.00197
SSVC