CVE-2025-52756: Improper Control of Generation of Code ('Code Injection') in Sayan Datta WP Last Modified Info
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.2.
AI Analysis
Technical Summary
CVE-2025-52756 is a vulnerability classified as 'Improper Control of Generation of Code' or code injection in the WordPress plugin 'WP Last Modified Info' developed by Sayan Datta. This plugin, widely used to display the last modified date of posts, suffers from a remote code inclusion flaw in versions up to and including 1.9.2. The vulnerability allows an attacker with at least low-level privileges (PR:L) to inject and execute arbitrary code remotely without requiring any user interaction (UI:N). The attack vector is network-based (AV:N), meaning exploitation can be performed remotely over the internet. The vulnerability affects confidentiality, integrity, and availability to a limited extent (C:L/I:L/A:L) and has a CVSS v3.1 base score of 7.4, indicating high severity. The scope is changed (S:C), meaning the vulnerability can affect resources beyond the initially vulnerable component. Although no public exploits are currently known, the nature of code injection vulnerabilities typically allows attackers to execute arbitrary commands, potentially leading to website defacement, data leakage, or denial of service. The vulnerability arises from insufficient validation or sanitization of inputs that are used to generate code dynamically, enabling remote code inclusion. Since the plugin is installed on WordPress sites, the attack surface includes any site using this plugin, especially those with multiple users or contributors who have low privileges. The vulnerability was reserved in June 2025 and published in October 2025, but no patch links are currently available, indicating that users must monitor for updates or apply temporary mitigations.
Potential Impact
For European organizations, this vulnerability poses a significant risk to WordPress-based websites, especially those that rely on the WP Last Modified Info plugin. Successful exploitation could lead to unauthorized code execution, allowing attackers to manipulate website content, steal sensitive data, or disrupt service availability. This could result in reputational damage, regulatory non-compliance (e.g., GDPR breaches due to data exposure), and operational downtime. Organizations with public-facing websites or e-commerce platforms are particularly vulnerable, as attackers could leverage this flaw to inject malicious scripts, deface sites, or pivot to internal networks. The requirement for low privileges means that even compromised or less trusted user accounts could be leveraged for exploitation, increasing the attack surface. Given the interconnected nature of European digital infrastructure and the high adoption of WordPress, the impact could be widespread if not addressed promptly.
Mitigation Recommendations
1. Monitor for official patches or updates from the plugin developer and apply them immediately upon release. 2. Until a patch is available, restrict access to the plugin's functionality by limiting user roles and permissions, ensuring only trusted users have the ability to modify plugin settings or content. 3. Employ a Web Application Firewall (WAF) with rules specifically designed to detect and block code injection and remote code inclusion attempts targeting WordPress plugins. 4. Conduct regular security audits and code reviews of WordPress plugins and themes to identify and remediate insecure coding practices. 5. Implement strict input validation and sanitization on all user inputs, especially those that interact with plugin features. 6. Monitor logs and website behavior for unusual activity indicative of exploitation attempts, such as unexpected file changes or execution of unauthorized scripts. 7. Consider isolating WordPress instances or running them in containerized environments to limit the blast radius of a potential compromise. 8. Educate site administrators and content editors about the risks of privilege misuse and the importance of strong authentication practices.
Affected Countries
Germany, United Kingdom, France, Netherlands, Italy, Spain, Poland
CVE-2025-52756: Improper Control of Generation of Code ('Code Injection') in Sayan Datta WP Last Modified Info
Description
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.2.
AI-Powered Analysis
Technical Analysis
CVE-2025-52756 is a vulnerability classified as 'Improper Control of Generation of Code' or code injection in the WordPress plugin 'WP Last Modified Info' developed by Sayan Datta. This plugin, widely used to display the last modified date of posts, suffers from a remote code inclusion flaw in versions up to and including 1.9.2. The vulnerability allows an attacker with at least low-level privileges (PR:L) to inject and execute arbitrary code remotely without requiring any user interaction (UI:N). The attack vector is network-based (AV:N), meaning exploitation can be performed remotely over the internet. The vulnerability affects confidentiality, integrity, and availability to a limited extent (C:L/I:L/A:L) and has a CVSS v3.1 base score of 7.4, indicating high severity. The scope is changed (S:C), meaning the vulnerability can affect resources beyond the initially vulnerable component. Although no public exploits are currently known, the nature of code injection vulnerabilities typically allows attackers to execute arbitrary commands, potentially leading to website defacement, data leakage, or denial of service. The vulnerability arises from insufficient validation or sanitization of inputs that are used to generate code dynamically, enabling remote code inclusion. Since the plugin is installed on WordPress sites, the attack surface includes any site using this plugin, especially those with multiple users or contributors who have low privileges. The vulnerability was reserved in June 2025 and published in October 2025, but no patch links are currently available, indicating that users must monitor for updates or apply temporary mitigations.
Potential Impact
For European organizations, this vulnerability poses a significant risk to WordPress-based websites, especially those that rely on the WP Last Modified Info plugin. Successful exploitation could lead to unauthorized code execution, allowing attackers to manipulate website content, steal sensitive data, or disrupt service availability. This could result in reputational damage, regulatory non-compliance (e.g., GDPR breaches due to data exposure), and operational downtime. Organizations with public-facing websites or e-commerce platforms are particularly vulnerable, as attackers could leverage this flaw to inject malicious scripts, deface sites, or pivot to internal networks. The requirement for low privileges means that even compromised or less trusted user accounts could be leveraged for exploitation, increasing the attack surface. Given the interconnected nature of European digital infrastructure and the high adoption of WordPress, the impact could be widespread if not addressed promptly.
Mitigation Recommendations
1. Monitor for official patches or updates from the plugin developer and apply them immediately upon release. 2. Until a patch is available, restrict access to the plugin's functionality by limiting user roles and permissions, ensuring only trusted users have the ability to modify plugin settings or content. 3. Employ a Web Application Firewall (WAF) with rules specifically designed to detect and block code injection and remote code inclusion attempts targeting WordPress plugins. 4. Conduct regular security audits and code reviews of WordPress plugins and themes to identify and remediate insecure coding practices. 5. Implement strict input validation and sanitization on all user inputs, especially those that interact with plugin features. 6. Monitor logs and website behavior for unusual activity indicative of exploitation attempts, such as unexpected file changes or execution of unauthorized scripts. 7. Consider isolating WordPress instances or running them in containerized environments to limit the blast radius of a potential compromise. 8. Educate site administrators and content editors about the risks of privilege misuse and the importance of strong authentication practices.
Affected Countries
Technical Details
- Data Version
- 5.1
- Assigner Short Name
- Patchstack
- Date Reserved
- 2025-06-19T10:02:55.536Z
- Cvss Version
- null
- State
- PUBLISHED
Threat ID: 68f8eff004677bbd79439911
Added to database: 10/22/2025, 2:53:36 PM
Last enriched: 1/20/2026, 8:30:12 PM
Last updated: 2/7/2026, 10:46:23 AM
Views: 69
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Related Threats
CVE-2026-2083: SQL Injection in code-projects Social Networking Site
MediumCVE-2026-2082: OS Command Injection in D-Link DIR-823X
MediumCVE-2026-2080: Command Injection in UTT HiPER 810
HighCVE-2026-2079: Improper Authorization in yeqifu warehouse
MediumCVE-2026-1675: CWE-1188 Initialization of a Resource with an Insecure Default in brstefanovic Advanced Country Blocker
MediumActions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console in Console -> Billing for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.