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

Published May 15, 2025
·
Updated

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.

Affected Software

2 affected components
WebToffee GDPR Cookie Consent<2.6.1
WebToffee Gdpr Cookie Consent Wordpress<2.61

Event History

May 15, 2025
CVE Published
via MITRE·08:07 PM
Data Sourced
via MITRE·08:07 PM
DescriptionWeakness
Data Sourced
via NVD·08:15 PM
DescriptionSeverity
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2024-8397?

CVE-2024-8397 has been classified as a high severity vulnerability due to its potential for conducting Stored Cross-Site Scripting (XSS) attacks.

2

How do I fix CVE-2024-8397?

To fix CVE-2024-8397, update the WebToffee GDPR Cookie Consent plugin to version 2.6.1 or later.

3

Which versions are affected by CVE-2024-8397?

CVE-2024-8397 affects all versions of the WebToffee GDPR Cookie Consent plugin prior to version 2.6.1.

4

What type of attacks can CVE-2024-8397 allow?

CVE-2024-8397 allows visitors to perform Stored Cross-Site Scripting attacks by exploiting improper sanitization of IP headers.

5

When does the payload for CVE-2024-8397 get triggered?

The payload for CVE-2024-8397 gets triggered when an admin accesses the 'Consent report' page.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203