CVE-2024-8397

published 15 May 2025 · updated 17 May 2025

GDPR Cookie Consent <= 2.6.0 - Unauthenticated Stored XSS

6.4MediumCVSS 5.4EPSS 0%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 2.6.1.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
<2.6.12.6.1

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2024-8397 severity on Zeptric[![CVE-2024-8397](https://zeptric.io/badge/cve/CVE-2024-8397.svg)](https://zeptric.io/cve/CVE-2024-8397)