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

- Severity: Medium 5.9 (CVSS:3.1, scored by Wordfence) `CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.79%, higher than 57% of CVEs (2026-12-02)
- Published: 2025-05-09T11:11:19.819Z
- Modified: 2026-06-17T09:20:53.000Z
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Wordfence

## 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.

(As written by CVE List.)

## Affected

- diego-la-monica EUCookieLaw: up to 2.7.2

## References

- <https://www.wordfence.com/threat-intel/vulnerabilities/id/d360de79-8490-4e70-b2d9-4f01a1ed3305?source=cve>
- <https://plugins.trac.wordpress.org/browser/eucookielaw/trunk/templates/EUCookieCache.php#L26>
- <https://plugins.trac.wordpress.org/changeset/3288917/>

## Sources

- CVE List: [CVE-2025-3897](https://www.cve.org/CVERecord?id=CVE-2025-3897), CVE Terms of Use, modified 2026-04-08
- NVD: [CVE-2025-3897](https://nvd.nist.gov/vuln/detail/CVE-2025-3897), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-3897 · Whole record: https://cve.day/CVE-2025-3897.json · Rebuilt by cve.day 2026-11-25T22:58:57.869Z
