CVE-2025-60240CWE-98

CVE-2025-60240

High · published November 6, 2025

CVSS v3.1
7.5
EPSS
0%
Percentile
39.0
In the wild
Unconfirmed
What it is

⚡ PHP Local File Inclusion is the sneaky culprit here! In AnyComment versions up to 0.3.6, the file inclusion process isn't as secure as it should be, allowing attackers to potentially access sensitive files. 🔥 Think of it like a restaurant chef who mistakenly accepts any recipe sent to the kitchen without checking its source. This means they could be using a dangerous recipe instead of a trusted one, putting everyone at risk! An attacker could exploit this vulnerability to load any file from the server, leading to unauthorized access to sensitive data or executing malicious scripts. The consequences could be absolutely devastating, leaving both the server and its users exposed to severe threats.

Put simply

Think of it like a restaurant chef who mistakenly accepts any recipe sent to the kitchen without checking its source. This means they could be using a dangerous recipe instead of a trusted one, putting everyone at risk! This vulnerability occurs due to improper control over the filename in PHP's Include/Require statements, allowing attackers to include arbitrary files from the server, leading to potential remote code execution.

What to do

An attacker could exploit this vulnerability to load any file from the server, leading to unauthorized access to sensitive data or executing malicious scripts. The consequences could be absolutely devastating, leaving both the server and its users exposed to severe threats. To protect your application, immediately upgrade AnyComment to version 0.3.7 or later. Additionally, review your code to ensure that file inclusions are properly validated and secured against unauthorized access. You've got this! By following these steps, you'll strengthen your defenses and safeguard your application. 🛡️

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00461 · 39.0th percentile
Weakness
CWE-98 · Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion')
Published
2025-11-06T21:16Z
References (1)
EPSS history
Timeline
  • 06 NOV 15:55Z
    WordPress AnyComment plugin <= 0.3.6 - Local File Inclusion vulnerability
    cvelistv5