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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | webtoffee-gdpr-cookie-consent | < 2.6.1 | 2.6.1 |
References
- https://wpscan.com/vulnerability/847fbf5d-f7cf-49fd-88bc-d7fa2a8110bd/ exploit vdb-entry technical-description