BlogSafe.org

WordPress CVEs

Search and review WordPress-related vulnerability records.

← Back to CVE list

CVE-2024-8397

MEDIUM 5.4 CVSS 3.1
Published
May 15, 2025
Last modified
June 17, 2026
NVD status
Analyzed
Reported by
contact@wpscan.com
Weakness
CWE-79
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N

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.

Affected products and versions

  • Unknown webtoffee-gdpr-cookie-consent — Before 2.6.1
  • webtoffee gdpr_cookie_consent — Before 2.61

References

  • wpscan.com https://wpscan.com/vulnerability/847fbf5d-f7cf-49fd-88bc-d7fa2a8110bd/ Exploit, Third Party Advisory
  • nvd.nist.gov Official NVD record