CVE-2024-8397

Medium

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.

SeverityMedium
CVSS5.4
Exploit probability—
ProductWebtoffee Gdpr Cookie Consent
PublishedMay 15, 2025
First seenMay 15, 2025

How to fix

Update
  • webtoffee gdpr_cookie_consent2.61 or later

Affected products

ProductAffected versionsFixed in
webtoffee gdpr_cookie_consentv < 2.612.61

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2024-8397 · Webtoffee Gdpr Cookie Consent · Dark Radar