Skip to main content

PHP CVE-2025-52756

HIGH
Code Injection (CWE-94)
2025-10-22 audit@patchstack.com
7.4
CVSS 3.1 · NVD
Share

Severity by source

NVD PRIMARY
7.4 HIGH
AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:L
Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
Low

Lifecycle Timeline

2
Analysis Generated
Apr 01, 2026 - 15:22 vuln.today
CVE Published
Oct 22, 2025 - 15:15 nvd
HIGH 7.4

DescriptionCVE.org

Improper Control of Generation of Code ('Code Injection') vulnerability in Sayan Datta WP Last Modified Info wp-last-modified-info allows Remote Code Inclusion.This issue affects WP Last Modified Info: from n/a through <= 1.9.4.

AnalysisAI

Code injection in WP Last Modified Info plugin versions ≤1.9.4 allows authenticated attackers with low-level privileges to execute arbitrary code remotely via vulnerable code generation controls. The CVSS 7.4 rating reflects network accessibility, low attack complexity, and scope change enabling cross-boundary impact. EPSS probability is minimal (0.05%, 15th percentile), no active exploitation confirmed (not in CISA KEV), and no public exploit code identified at time of analysis, suggesting limited real-world exploitation activity despite the critical vulnerability class.

Technical ContextAI

The vulnerability stems from CWE-94 (Improper Control of Code Generation), a critical weakness where user-controlled input influences dynamically generated code without proper validation or sanitization. WP Last Modified Info is a WordPress plugin that displays modification timestamps for posts and pages. The flaw likely resides in functionality that processes user input to generate PHP code, template strings, or executable commands. With the CVSS vector showing PR:L (low-privilege requirement), the plugin fails to restrict code generation capabilities to administrative roles, allowing subscriber-level or contributor-level authenticated users to inject malicious code. The scope change (S:C) indicates the vulnerability can affect resources beyond the plugin's security boundary, potentially compromising the entire WordPress installation and underlying server environment.

Affected ProductsAI

WordPress plugin WP Last Modified Info versions 1.9.4 and earlier are confirmed vulnerable. The vulnerability was specifically identified in version 1.9.2 by Patchstack security researchers and affects all versions through the 1.9.x branch up to and including 1.9.4. The plugin, developed by Sayan Datta, is used to display last modified timestamps on WordPress posts and pages. Organizations can identify installations through WordPress admin panels under installed plugins or by checking the wp-content/plugins/wp-last-modified-info directory. The vendor advisory and technical details are available through Patchstack's vulnerability database at https://patchstack.com/database/Wordpress/Plugin/wp-last-modified-info/vulnerability/wordpress-wp-last-modified-info-plugin-1-9-2-remote-code-execution-rce-vulnerability.

RemediationAI

Immediately update WP Last Modified Info to version 1.9.5 or later, which addresses the code injection vulnerability according to standard WordPress plugin security practices. Access the WordPress admin dashboard, navigate to Plugins > Installed Plugins, locate WP Last Modified Info, and click Update if available. Alternatively, administrators can manually update by downloading the patched version from the official WordPress plugin repository and replacing the existing plugin directory via FTP or cPanel file manager. Review user account privileges and audit any low-privilege accounts (subscriber, contributor roles) for suspicious activity or unauthorized access that could have been leveraged before patching. As an interim mitigation if immediate patching is not possible, consider temporarily deactivating the plugin until the update can be applied, though this removes last-modified timestamp functionality. Consult the Patchstack advisory at the provided reference URL for additional vendor-specific guidance and confirmation of the fixed version. After updating, verify the new version through the WordPress admin interface and monitor site functionality to ensure proper operation.

More in PHP

View all
CVE-2012-1823 CRITICAL POC
9.8 May 11

sapi/cgi/cgi_main.c in PHP before 5.3.12 and 5.4.x before 5.4.2, when configured as a CGI script (aka php-cgi), does not

CVE-2016-1555 CRITICAL POC
9.8 Apr 21

(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear

CVE-2024-11680 CRITICAL POC
9.8 Nov 26

ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C

CVE-2025-49113 CRITICAL POC
9.9 Jun 02

Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au

CVE-2017-9841 CRITICAL POC
9.8 Jun 27

Util/PHP/eval-stdin.php in PHPUnit before 4.8.28 and 5.x before 5.6.3 allows remote attackers to execute arbitrary PHP c

CVE-2025-0108 HIGH POC
8.8 Feb 12

Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers

CVE-2021-25298 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2021-25296 HIGH POC
8.8 Feb 15

Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re

CVE-2013-4983 CRITICAL POC
10.0 Sep 10

The get_referers function in /opt/ws/bin/sblistpack in Sophos Web Appliance before 3.7.9.1 and 3.8 before 3.8.1.1 allows

CVE-2023-6553 CRITICAL POC
9.8 Dec 15

The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1

CVE-2024-46506 CRITICAL POC
10.0 May 13

NetAlertX (formerly PiAlert) versions 23.01.14 through 24.x before 24.10.12 allow unauthenticated command injection thro

CVE-2024-8353 CRITICAL POC
9.8 Sep 28

The GiveWP - Donation Plugin and Fundraising Platform plugin for WordPress is vulnerable to PHP Object Injection in all

Share

CVE-2025-52756 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy