{"id":"CVE-2024-8397","sourceIdentifier":"contact@wpscan.com","published":"2025-05-15T20:15:58.500","lastModified":"2026-06-17T08:22:30.253","vulnStatus":"Analyzed","cveTags":[],"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."},{"lang":"es","value":"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."}],"affected":[{"source":"contact@wpscan.com","affectedData":[{"vendor":"Unknown","product":"webtoffee-gdpr-cookie-consent","defaultStatus":"unaffected","versions":[{"version":"0","lessThan":"2.6.1","versionType":"semver","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","baseScore":5.4,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE"},"exploitabilityScore":2.8,"impactScore":2.5}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2025-05-17T03:17:05.462468Z","id":"CVE-2024-8397","options":[{"exploitation":"poc"},{"automatable":"no"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"nvd@nist.gov","type":"Primary","description":[{"lang":"en","value":"CWE-79"}]}],"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:webtoffee:gdpr_cookie_consent:*:*:*:*:*:wordpress:*:*","versionEndExcluding":"2.61","matchCriteriaId":"26EB1490-7A3F-4262-86B7-78CC5A4A9EBD"}]}]}],"references":[{"url":"https://wpscan.com/vulnerability/847fbf5d-f7cf-49fd-88bc-d7fa2a8110bd/","source":"contact@wpscan.com","tags":["Exploit","Third Party Advisory"]}]}