CVE-2024-8397

GDPR Cookie Consent <= 2.6.0 - Unauthenticated Stored XSS

Published May 15, 2025 CVSS 3.1 · 5.4 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2025-15258 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.
History
Type Values Removed Values Added
First Time appeared Webtoffee
Webtoffee gdpr Cookie Consent
Weaknesses CWE-79
CPEs cpe:2.3:a:webtoffee:gdpr_cookie_consent:*:*:*:*:*:wordpress:*:*
Vendors & Products Webtoffee
Webtoffee gdpr Cookie Consent
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title GDPR Cookie Consent <= 2.6.0 - Unauthenticated Stored XSS
References
Weaknesses

Sources

Status
PUBLISHED
Assigner
WPScan
Published
Updated
May 17, 2025, 3:18 AM
Reserved
Sep 3, 2024, 5:37 PM
Status
Analyzed
Published
May 15, 2025, 8:15 PM
Modified
Jun 17, 2026, 8:22 AM