Stored Cross-Site Scripting Vulnerability in Cookie Law Bar Plugin by WordPress
CVE-2021-47957

5.1MEDIUM

Key Information:

Vendor

WordPress

Vendor
CVE Published:
16 May 2026

Badges

๐Ÿ‘พ Exploit Exists๐ŸŸก Public PoC

What is CVE-2021-47957?

The Cookie Law Bar plugin version 1.2.1 for WordPress is vulnerable to stored cross-site scripting (XSS). This allows authenticated attackers to exploit the Bar Message field by injecting malicious scripts into the plugin settings page. Once these scripts are executed in the browsers of users visiting the site, attackers can steal cookies and exfiltrate sensitive data. This vulnerability underscores the importance of input sanitization and user data protection.

Affected Version(s)

Cookie Law Bar 1.2.1

Exploit Proof of Concept (PoC)

PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.

References

CVSS V4

Score:
5.1
Severity:
MEDIUM
Confidentiality:
None
Integrity:
None
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
Unknown

Timeline

  • ๐ŸŸก

    Public PoC available

  • ๐Ÿ‘พ

    Exploit known to exist

  • Vulnerability published

  • Vulnerability Reserved

Credit

Mesut Cetin
.