Vulnerability · Published May 9, 2025 · Assigned by Wordfence

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

Medium 5.9

In plain English

A medium-severity path traversal in EUCookieLaw from diego-la-monica. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.8% (higher than 56% of all known vulnerabilities).

Severity (CVSS 3.1)5.9Medium
Exploit odds (30 days)0.8%top 44.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

Affected products (as reported)

VendorProductVersions
diego-la-monica EUCookieLaw 0 – through 2.7.2

Weakness: CWE-22 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

References