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 Software | Affected Version | How to fix |
---|---|---|
EU Cookie Law | <=2.7.2 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2025-3897 has been classified as a critical severity vulnerability due to its potential to allow unauthorized file access.
To fix CVE-2025-3897, update the EUCookieLaw plugin to version 2.7.3 or later.
All users of the EUCookieLaw plugin for WordPress running versions up to and including 2.7.2 are affected by CVE-2025-3897.
CVE-2025-3897 can be exploited by unauthenticated attackers to read sensitive files on the server.
While there are no specific reports of active exploitation, due to its critical nature, it is advisable to mitigate it immediately.