WP GDPR Cookie Consent Stored Cross-Site Scripting Vulnerability

Vulnerability

A stored cross-site scripting vulnerability has been identified in the WP GDPR Cookie Consent plugin for WordPress, affecting versions through 1.0.0. The issue arises from inadequate capability and nonce checks in the handleAjaxCalls() function, poor input sanitization of the gdprConfig values, and a lack of output escaping in the generateCSS() function. This vulnerability allows authenticated attackers with subscriber-level access and above to inject arbitrary scripts into pages, which are executed when users access the injected pages.

Impact

Exploitation of this vulnerability allows for stored cross-site scripting, where injected scripts are executed in the context of the user viewing the page.

Remediation

No known patch is available. It is recommended to review the vulnerability details and consider uninstalling the affected plugin.

Added: Jun 9, 2026, 5:28 AM
Updated: Jun 9, 2026, 5:28 AM

Vulnerability Rating

Custom Algorithm
spread
0.0
impact
1.7
exploitability
5.7
remediation
0.0
relevance
9.6
threat
3.2
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.