{"id":"CVE-2024-8397","aliases":["CVE-2024-8397"],"related":[],"kind":"vulnerability","state":"published","title":"GDPR Cookie Consent <= 2.6.0 - Unauthenticated Stored XSS","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"El complemento webtoffee-gdpr-cookie-consent de WordPress, anterior a la versión 2.6.1, no depura ni escapa correctamente los encabezados IP al registrarlos, lo que permite a los visitantes realizar ataques de Cross-Site Scripting. El payload se activa cuando un administrador visita la página \"Consent report\" y el script malicioso se ejecuta en el contexto del administrador.","source":"nvd"}],"published":"2025-05-15T20:07:15.179Z","modified":"2026-06-17T08:22:30.253Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"2.6.1","status":"affected"}],"vendor":"Unknown","product":"webtoffee-gdpr-cookie-consent","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"2.61"}],"vendor":"webtoffee","product":"gdpr_cookie_consent","cpe":"cpe:2.3:a:webtoffee:gdpr_cookie_consent:*:*:*:*:*:wordpress:*:*","source":"nvd"}],"references":[{"url":"https://wpscan.com/vulnerability/847fbf5d-f7cf-49fd-88bc-d7fa2a8110bd/","tags":["exploit","technical-description","third-party-advisory","vdb-entry"],"sources":["cvelist","nvd"]}],"credits":["Zitec/Teodora Jilaveanu","WPScan"],"assigner":"WPScan","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2025-05-17T03:17:05.462Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-8397","url":"https://www.cve.org/CVERecord?id=CVE-2024-8397","licence":"CVE Terms of Use","modified":"2025-05-17T03:18:29.042Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-8397","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-8397","licence":"Public domain","modified":"2026-06-17T08:22:30.253Z"}],"updatedAt":"2026-11-25T22:58:52.669Z","epss":{"score":0.00332,"percentile":0.28419,"date":"2026-12-01T12:00:22.000Z"}}