{"id":"CVE-2024-8397","state":"PUBLISHED","title":"GDPR Cookie Consent <= 2.6.0 - Unauthenticated Stored XSS","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.","publishedAt":"2025-05-15T20:07:15.179Z","updatedAt":"2025-05-17T03:18:29.042Z","severity":{"score":5.4,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","source":"CISA-ADP"},"assigner":"WPScan","products":["Unknown webtoffee-gdpr-cookie-consent"],"affected":[{"vendor":"Unknown","product":"webtoffee-gdpr-cookie-consent","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"2.6.1","versionType":"semver"}]}],"references":["https://wpscan.com/vulnerability/847fbf5d-f7cf-49fd-88bc-d7fa2a8110bd/"],"weaknesses":[],"ingestedAt":"2026-10-29T20:08:20.985Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/8xxx/CVE-2024-8397.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-8397","state":"PUBLISHED","datePublished":"2025-05-15T20:07:15.179Z","dateUpdated":"2025-05-17T03:18:29.042Z","assignerShortName":"WPScan","assignerOrgId":"1bfdd5d7-9bf6-4a53-96ea-42e2716d7a81","dateReserved":"2024-09-03T17:37:12.054Z"},"containers":{"cna":{"title":"GDPR Cookie Consent <= 2.6.0 - Unauthenticated Stored XSS","descriptions":[{"lang":"en","value":"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":[{"vendor":"Unknown","product":"webtoffee-gdpr-cookie-consent","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"2.6.1","versionType":"semver"}]}],"references":[{"url":"https://wpscan.com/vulnerability/847fbf5d-f7cf-49fd-88bc-d7fa2a8110bd/","tags":["exploit","vdb-entry","technical-description"]}],"problemTypes":[{"descriptions":[{"description":"CWE-79 Cross-Site Scripting (XSS)","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"WPScan","orgId":"1bfdd5d7-9bf6-4a53-96ea-42e2716d7a81","dateUpdated":"2025-05-15T20:07:15.179Z"},"credits":[{"lang":"en","value":"Zitec/Teodora Jilaveanu","type":"finder"},{"lang":"en","value":"WPScan","type":"coordinator"}],"source":{"discovery":"EXTERNAL"},"x_generator":{"engine":"WPScan CVE Generator"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":5.4,"attackVector":"NETWORK","baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","integrityImpact":"LOW","userInteraction":"REQUIRED","attackComplexity":"LOW","availabilityImpact":"NONE","privilegesRequired":"NONE","confidentialityImpact":"LOW"}},{"other":{"type":"ssvc","content":{"timestamp":"2025-05-17T03:17:05.462468Z","id":"CVE-2024-8397","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-05-17T03:18:29.042Z"}}]}}}