Stored Cross-Site Scripting Vulnerability in Webtoffee GDPR Cookie Consent Plugin
CVE-2024-8397

5.4MEDIUM

Key Information:

Vendor

WordPress

Vendor
CVE Published:
15 May 2025

Badges

👾 Exploit Exists🟡 Public PoC

What is CVE-2024-8397?

The Webtoffee GDPR Cookie Consent Plugin prior to version 2.6.1 has a vulnerability that arises from insufficient sanitation and escaping of IP headers when logging these data points. This flaw allows attackers to inject malicious scripts that can be executed in the context of the admin when accessing the 'Consent report' page. Such exploitation poses significant risks to user data and website integrity, enabling Stored Cross-Site Scripting attacks that compromise the application.

Affected Version(s)

webtoffee-gdpr-cookie-consent 0 < 2.6.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 V3.1

Score:
5.4
Severity:
MEDIUM
Confidentiality:
Low
Integrity:
Low
Availability:
Low
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
Required
Scope:
Unchanged

Timeline

  • 🟡

    Public PoC available

  • 👾

    Exploit known to exist

  • Vulnerability published

  • Vulnerability Reserved

Credit

Zitec/Teodora Jilaveanu
WPScan
.