Medium severity · published May 15, 2025
CVE-2024-8397
GDPR Cookie Consent <= 2.6.0 - Unauthenticated Stored XSS
5.4
CVSS
0.3%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
Required
Confidentiality
Low
Integrity
Low
Availability
None
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)0.3% · higher than 26% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
WE
webtoffee-gdpr-cookie-consent ·
before 2.6.1 · source: vendor
GC
Gdpr Cookie Consent · Webtoffee
before 2.61 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2024-8397
CVE.org
https://www.cve.org/CVERecord?id=CVE-2024-8397
Exploit
https://wpscan.com/vulnerability/847fbf5d-f7cf-49fd-88bc-d7fa2a8110bd/
More from webtoffee-gdpr-cookie-consent
6.5
CVE-2024-8286
GDPR Cookie Consent <= 2.6.0 - Bulk Delete via CSRF
