Home

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.

PUBLISHED Reserved 2024-09-03 | Published 2025-05-15 | Updated 2025-05-17 | Assigner WPScan

Problem types

CWE-79 Cross-Site Scripting (XSS)

Product status

Default status
unaffected

Any version before 2.6.1
affected

Credits

Zitec/Teodora Jilaveanu finder

WPScan coordinator

References

wpscan.com/...rability/847fbf5d-f7cf-49fd-88bc-d7fa2a8110bd/ exploit vdb-entry technical-description

cve.org (CVE-2024-8397)

nvd.nist.gov (CVE-2024-8397)

Download JSON