CWE
22
Advisory Published
Updated

CVE-2025-3897: EUCookieLaw <= 2.7.2 - Unauthenticated Arbitrary File Read

First published: Fri May 09 2025(Updated: )

The EUCookieLaw plugin for WordPress is vulnerable to Arbitrary File Read in all versions up to, and including, 2.7.2 via the 'file_get_contents' function. This makes it possible for unauthenticated attackers to read the contents of arbitrary files on the server, which can contain sensitive information. The vulnerability can only be exploited if a caching plugin such as W3 Total Cache is installed and activated.

Credit: security@wordfence.com

Affected SoftwareAffected VersionHow to fix
EU Cookie Law<=2.7.2

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-2025-3897?

    CVE-2025-3897 has been classified as a critical severity vulnerability due to its potential to allow unauthorized file access.

  • How do I fix CVE-2025-3897?

    To fix CVE-2025-3897, update the EUCookieLaw plugin to version 2.7.3 or later.

  • Who is affected by CVE-2025-3897?

    All users of the EUCookieLaw plugin for WordPress running versions up to and including 2.7.2 are affected by CVE-2025-3897.

  • What kind of attacks can result from CVE-2025-3897?

    CVE-2025-3897 can be exploited by unauthenticated attackers to read sensitive files on the server.

  • Is CVE-2025-3897 still being actively exploited?

    While there are no specific reports of active exploitation, due to its critical nature, it is advisable to mitigate it immediately.

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