CVE-2021-47957: Cookielawinfo Cookie Law Bar

Medium severity, CVSS 6.4. EPSS: 0.2% chance of exploitation in the next 30 days.

Cookie Law Bar 1.2.1 contains a stored cross-site scripting vulnerability that allows authenticated attackers to inject malicious scripts by submitting unsanitized input to the Bar Message field. Attackers can inject script payloads through the plugin settings page that execute in the browsers of all WordPress users viewing the site, enabling cookie theft and sensitive data exfiltration.

Affected products

Published 2026-05-16. Last modified 2026-06-17.