XSS in Webtoffee Gdpr Cookie Consent
CVE-2024-8397
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.4 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N.
EPSS exploit prediction
EPSS: 0.003 (21.7th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 22nd percentile — 21.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.003 · newest: 0.003 · change: 0.000
Affected products
- Webtoffee Gdpr Cookie Consent
- Webtoffee-Gdpr-Cookie-Consent — versions 0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- wpscan.com/vulnerability/847fbf5d-f7cf-49fd-88bc-d7fa2a8110bd/ (Exploit, technical-description, Third Party Advisory, exploit, vdb-entry)
Frequently asked questions
- What is CVE-2024-8397?
- CVE-2024-8397 is a medium-severity vulnerability in Webtoffee Gdpr Cookie Consent, classified under Cross-site Scripting. CVSS score: 5.4/10. Published 2025-05-15.
- How severe is CVE-2024-8397?
- Medium severity. CVSS v3 base score is 5.4 out of 10.
- Is CVE-2024-8397 known to be exploited?
- 2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.