CWE
79
Advisory Published
Updated

CVE-2022-3811: EU Cookie Law <= 3.1.6 - Admin+ Stored XSS

First published: Mon Jan 23 2023(Updated: )

The EU Cookie Law for GDPR/CCPA WordPress plugin through 3.1.6 does not sanitise and escape some of its settings, which could allow high privilege users such as admin to perform Stored Cross-Site Scripting attacks even when the unfiltered_html capability is disallowed (for example in multisite setup).

Credit: contact@wpscan.com

Affected SoftwareAffected VersionHow to fix
EU Cookie Law<=3.1.6

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2022-3811?

    CVE-2022-3811 is considered a critical vulnerability as it allows high privilege users to perform Stored Cross-Site Scripting attacks.

  • How do I fix CVE-2022-3811?

    To fix CVE-2022-3811, update the EU Cookie Law plugin to a version newer than 3.1.6 where the vulnerability has been addressed.

  • Who is affected by CVE-2022-3811?

    CVE-2022-3811 affects WordPress users leveraging the EU Cookie Law for GDPR/CCPA plugin versions up to 3.1.6.

  • What kind of attack does CVE-2022-3811 enable?

    CVE-2022-3811 enables high privilege users to conduct Stored Cross-Site Scripting attacks on websites.

  • Are there any mitigating factors for CVE-2022-3811?

    While the best mitigation is updating the plugin, restricting access to high privilege accounts can reduce the impact of CVE-2022-3811.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203