{"id":"CVE-2025-3897","state":"PUBLISHED","title":"EUCookieLaw <= 2.7.2 - Unauthenticated Arbitrary File Read","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.","publishedAt":"2025-05-09T11:11:19.819Z","updatedAt":"2026-04-08T17:25:36.362Z","severity":{"score":5.9,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","source":"Wordfence"},"assigner":"Wordfence","products":["diego-la-monica EUCookieLaw"],"affected":[{"vendor":"diego-la-monica","product":"EUCookieLaw","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"2.7.2","versionType":"semver"}]}],"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/"],"weaknesses":["CWE-22"],"ingestedAt":"2026-10-29T20:09:09.358Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/3xxx/CVE-2025-3897.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-3897","state":"PUBLISHED","datePublished":"2025-05-09T11:11:19.819Z","dateUpdated":"2026-04-08T17:25:36.362Z","assignerShortName":"Wordfence","assignerOrgId":"b15e7b5b-3da4-40ae-a43c-f7aa60e62599","dateReserved":"2025-04-23T15:56:17.104Z"},"containers":{"cna":{"title":"EUCookieLaw <= 2.7.2 - Unauthenticated Arbitrary File Read","descriptions":[{"lang":"en","value":"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":[{"vendor":"diego-la-monica","product":"EUCookieLaw","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"2.7.2","versionType":"semver"}]}],"references":[{"url":"https://www.wordfence.com/threat-intel/vulnerabilities/id/d360de79-8490-4e70-b2d9-4f01a1ed3305?source=cve"},{"url":"https://plugins.trac.wordpress.org/browser/eucookielaw/trunk/templates/EUCookieCache.php#L26"},{"url":"https://plugins.trac.wordpress.org/changeset/3288917/"}],"metrics":[{"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","baseScore":5.9,"baseSeverity":"MEDIUM"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-22","lang":"en","description":"CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","type":"CWE"}]}],"providerMetadata":{"shortName":"Wordfence","orgId":"b15e7b5b-3da4-40ae-a43c-f7aa60e62599","dateUpdated":"2026-04-08T17:25:36.362Z"},"credits":[{"lang":"en","type":"finder","value":"Nicolai Hellesnes"}],"timeline":[{"time":"2025-05-08T00:00:00.000Z","lang":"en","value":"Disclosed"}]},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-05-09T14:37:20.035129Z","id":"CVE-2025-3897","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-05-09T14:39:27.329Z"}}]}}}