# CVE-2024-8397: GDPR Cookie Consent <= 2.6.0 - Unauthenticated Stored XSS

- Severity: Medium 5.4 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.33%, higher than 28% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-05-15T20:07:15.179Z
- Modified: 2026-06-17T08:22:30.253Z
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: WPScan

## 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.

(As written by CVE List.)

## Affected

- Unknown webtoffee-gdpr-cookie-consent: before 2.6.1
- webtoffee gdpr_cookie_consent: before 2.61

## References

- <https://wpscan.com/vulnerability/847fbf5d-f7cf-49fd-88bc-d7fa2a8110bd/> (exploit, technical-description, third-party-advisory, vdb-entry)

## Sources

- CVE List: [CVE-2024-8397](https://www.cve.org/CVERecord?id=CVE-2024-8397), CVE Terms of Use, modified 2025-05-17
- NVD: [CVE-2024-8397](https://nvd.nist.gov/vuln/detail/CVE-2024-8397), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-8397 · Whole record: https://cve.day/CVE-2024-8397.json · Rebuilt by cve.day 2026-11-25T22:58:52.669Z
