Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2025-4857: CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in contrid Newsletters

0
High
VulnerabilityCVE-2025-4857cvecve-2025-4857cwe-22
Published: Sat May 31 2025 (05/31/2025, 11:18:54 UTC)
Source: CVE Database V5
Vendor/Project: contrid
Product: Newsletters

Description

The Newsletters plugin for WordPress is vulnerable to Local File Inclusion in all versions up to, and including, 4.9.9.9 via the 'file' parameter. This makes it possible for authenticated attackers, with Administrator-level access and above, to include and execute arbitrary files on the server, allowing the execution of any PHP code in those files. This can be used to bypass access controls, obtain sensitive data, or achieve code execution in cases where images and other “safe” file types can be uploaded and included.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 02/27/2026, 14:53:26 UTC

Technical Analysis

CVE-2025-4857 is a Local File Inclusion vulnerability affecting the contrid Newsletters plugin for WordPress in all versions up to and including 4.9.9.9. The vulnerability stems from improper validation of the 'file' parameter, which allows an authenticated attacker with Administrator-level access or higher to perform path traversal attacks (CWE-22). By manipulating this parameter, attackers can include arbitrary files from the server filesystem, including those uploaded as images or other seemingly safe file types, which can contain malicious PHP code. This leads to arbitrary code execution within the context of the web server, enabling attackers to bypass access controls, access sensitive data, and potentially take full control of the affected system. The vulnerability has a CVSS v3.1 score of 7.2, reflecting high severity due to network attack vector, low attack complexity, and high impact on confidentiality, integrity, and availability. Although no known exploits are currently in the wild, the presence of administrator privileges as a prerequisite limits but does not eliminate risk, as compromised admin accounts or insider threats could leverage this flaw. The plugin is widely used in WordPress environments, making this a significant risk for many organizations relying on this CMS and plugin combination.

Potential Impact

The impact of CVE-2025-4857 is substantial for organizations using the contrid Newsletters plugin on WordPress. Successful exploitation allows attackers to execute arbitrary PHP code on the web server, which can lead to full system compromise, data exfiltration, and disruption of services. Confidentiality is at risk due to unauthorized access to sensitive files and data. Integrity can be compromised by altering website content or injecting malicious code. Availability may be affected if attackers deploy destructive payloads or ransomware. Since the vulnerability requires administrator-level access, the threat is particularly critical in environments where admin credentials are weak, reused, or otherwise compromised. Organizations with public-facing WordPress sites using this plugin are at risk of targeted attacks, especially if they do not have strong access controls or monitoring in place. The potential for bypassing access controls and executing arbitrary code makes this vulnerability a high priority for remediation.

Mitigation Recommendations

To mitigate CVE-2025-4857, organizations should immediately update the contrid Newsletters plugin to a patched version once available. Until a patch is released, restrict administrator access to trusted personnel only and enforce strong, unique passwords combined with multi-factor authentication to reduce the risk of credential compromise. Implement strict input validation and web application firewall (WAF) rules to detect and block path traversal attempts targeting the 'file' parameter. Regularly audit and monitor logs for suspicious file inclusion activities or unexpected PHP execution patterns. Disable or restrict file upload capabilities if not essential, and ensure uploaded files are validated and stored outside the web root to prevent direct execution. Employ the principle of least privilege for WordPress roles to minimize the number of users with administrator access. Additionally, conduct regular security assessments and penetration testing focused on plugin vulnerabilities to identify and remediate similar issues proactively.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.1
Assigner Short Name
Wordfence
Date Reserved
2025-05-16T18:19:13.788Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 683af5e1182aa0cae2e055b8

Added to database: 5/31/2025, 12:28:17 PM

Last enriched: 2/27/2026, 2:53:26 PM

Last updated: 3/24/2026, 4:42:06 AM

Views: 215

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses