CVE-2024-8397
WordPress vulnerability analysis and mitigation

Overview

The webtoffee-gdpr-cookie-consent WordPress plugin before version 2.6.1 contains a stored Cross-Site Scripting (XSS) vulnerability. This security issue was discovered and reported by Zitec/Teodora Jilaveanu, and was assigned CVE-2024-8397. The vulnerability affects the plugin's functionality related to IP header logging and consent reporting (WPScan).

Technical details

The vulnerability stems from improper sanitization and escaping of IP headers when logging them in the plugin's system. The issue has been assigned a CVSS v3.1 base score of 5.4 (Medium) with the vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N. The vulnerability is classified as CWE-79 (Cross-Site Scripting) (CISA-ADP).

Impact

When exploited, this vulnerability allows unauthenticated visitors to conduct Stored Cross-Site Scripting attacks. The malicious script gets executed in the admin context when an administrator visits the 'Consent report' page, potentially leading to unauthorized actions and data exposure (WPScan).

Mitigation and workarounds

The vulnerability has been patched in version 2.6.1 of the webtoffee-gdpr-cookie-consent plugin. Users are advised to update to this version or later to protect against potential attacks (WPScan).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

“Best User Experience I have ever seen, provides full visibility to cloud workloads.”
David EstlickCISO
“Wiz provides a single pane of glass to see what is going on in our cloud environments.”
Adam FletcherChief Security Officer
“We know that if Wiz identifies something as critical, it actually is.”
Greg PoniatowskiHead of Threat and Vulnerability Management