CVE-2021-47957

MEDIUM CVSS 4.0: 5.1 EPSS 0.20%
Updated Jun 17, 2026
WordPress
Parameter Value
CVSS 5.1 (MEDIUM)
Type CWE-79 (Cross-Site Scripting (XSS))
Vendor WordPress
Public PoC Yes

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.

Attack Parameters

Attack Vector
Network
Can be exploited remotely
Attack Complexity
Low
Easy to exploit
Attack Requirements
None
No additional conditions
Privileges Required
Low
Basic privileges needed
User Interaction
Passive
Minimal interaction

Impact Assessment

Confidentiality
None
No data leak
Integrity
None
No data modification
Availability
None
No disruption

CVSS Vector v4.0