CVE-2024-8397 Details
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.
A stored cross-site scripting vulnerability has been identified in the Webtoffee GDPR Cookie Consent WordPress plugin, affecting versions prior to 2.6.1. The issue arises because the plugin fails to properly sanitize and escape IP headers when logging, allowing visitors to inject malicious scripts. These scripts are executed in the admin context when an administrator views the 'Consent report' page.
Users are advised to update the Webtoffee GDPR Cookie Consent WordPress plugin to version 2.6.1 or later.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed May 17, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://wpscan.com/vulnerability/847fbf5d-f7cf-49fd-88bc-d7fa2a8110bd/ | [email protected] | ExploitThird Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| webtoffee gdpr cookie consent | < 2.61 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 12, 2025 | Initial Analysis | [email protected] |
| May 17, 2025 | CVE Modified | CISA-ADP |
| May 15, 2025 | New CVE Received | [email protected] |