CVE-2024-8397Published May 15, 2025 · May 15Updated Jun 17
GDPR Cookie Consent <= 2.6.0 - Unauthenticated Stored XSS
webtoffee-gdpr-cookie-consent
Medium5.4
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Unknown webtoffee-gdpr-cookie-consent |
| No fix yet |
Original description
The webtoffee-gdpr-cookie-consent WordPress plugin before 2.6.1 does not properly sanitize and escape the IP headers when logging them, allowing visitors to conduct Stored Cross-Site Scripting attacks. The payload gets triggered when an admin visits the 'Consent report' page and the malicious script is executed in the admin context.
From the CVE record · WPScan