Vulnerability Description
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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://plugins.trac.wordpress.org/browser/eucookielaw/trunk/templates/EUCookieC
- https://plugins.trac.wordpress.org/changeset/3288917/
- https://www.wordfence.com/threat-intel/vulnerabilities/id/d360de79-8490-4e70-b2d
FAQ
What is CVE-2025-3897?
CVE-2025-3897 is a vulnerability with a CVSS score of 5.9 (MEDIUM). 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 a...
How severe is CVE-2025-3897?
CVE-2025-3897 has been rated MEDIUM with a CVSS base score of 5.9/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-3897?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.