Simple Contact Forms CVE-2025-60197
HIGHAttack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify plugin version via WordPress enumeration
-
DeliveryCraft request with path traversal payload in form parameter
-
ExploitTrigger vulnerable include() statement
-
ExecutionRead sensitive local files
-
PersistExfiltrate credentials or inject code via log poisoning
-
ImpactExecute arbitrary PHP
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V5 - File Handling File inclusion prevention, allowlisting
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Command and Control The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Successful exploitation requires the attacker to identify specific file paths on the target server and determine the exact parameter names that feed into vulnerable include/require statements within the Simple Contact Forms plugin code. The high attack complexity (AC:H) stems from these reconnaissance requirements - attackers need knowledge of the WordPress installation's directory structure, absolute file paths (which vary by hosting environment), and which plugin endpoints accept file-path-influencing parameters. Exploitation does NOT require the PHP allow_url_include setting to be enabled (this is LFI, not RFI), allowing attacks against default PHP configurations. No authentication (PR:N) or user interaction (UI:N) is required, meaning attacks work against default WordPress + plugin installations accessible over the network. Limiting factors include: PHP open_basedir restrictions if configured by the hosting provider, file system permissions preventing read access to sensitive files outside web root, and the need for attackers to correctly guess or brute-force valid parameter names in the plugin's form handling logic. |
| Impact | Real-world risk is MODERATE despite the High CVSS score of 8.1. The CVSS vector indicates network-based attack (AV:N) requiring no privileges (PR:N) or user interaction (UI:N), but high attack complexity (AC:H) suggests exploitation requires specialized conditions like precise knowledge of server file paths or timing. EPSS score of 0.08% (23rd percentile) indicates extremely low observed exploitation probability, with no CISA KEV listing confirming active campaigns. The tags confirm this is LFI (not RFI), limiting immediate impact to reading local files unless chained with other techniques. No public POC was identified in references, though Patchstack's disclosure increases likelihood of exploit development. Priority depends heavily on whether the WordPress installation allows file uploads (enabling log poisoning attacks to achieve RCE) or exposes sensitive configuration files (wp-config.php, .htaccess). For read-only LFI without upload vectors, risk drops significantly from CVSS baseline. Organizations running Simple Contact Forms ≤1.6.4 should prioritize assessment of their specific upload capabilities and file system exposure over raw CVSS severity. |
| Exploit ScenarioDerived | An unauthenticated remote attacker identifies the Simple Contact Forms plugin active on a WordPress site through version enumeration. They craft HTTP requests to form processing endpoints, injecting path traversal sequences into parameters that control file inclusion (e.g., template or configuration file parameters). By manipulating these inputs with payloads like '../../../../wp-config.php' or '/etc/passwd', the attacker forces the plugin to include and potentially expose sensitive files, disclosing database credentials, secret keys, or system configuration. In advanced scenarios, the attacker combines LFI with log poisoning by injecting PHP code into access logs via User-Agent headers, then includes the log file to achieve remote code execution. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Apr 24, 2026
Local File Inclusion in Simple Contact Forms WordPress plugin (versions ≤1.6.4) allows remote unauthenticated attackers to include arbitrary PHP files from the server's local filesystem via improper filename validation in include/require statements. CVSS rates this 8.1 (High) with high attack complexity (AC:H), but EPSS indicates only 0.08% exploitation probability (23rd percentile), suggesting low real-world targeting. Patchstack classified this as an LFI vulnerability with information disclosure potential, though successful exploitation could escalate to code execution if combined with file upload or log poisoning techniques.
Earlier versions of this analysis (1)
Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in owenr88 Simple Contact Forms simple-contact-forms allows PHP Local File. Rated high severity (CVSS 8.2), this vulnerability is remotely exploitable, no authentication required, low attack complexity. No vendor patch available.
RemediationAI
Immediately upgrade Simple Contact Forms to version 1.6.5 or later if available from the WordPress plugin repository. The Patchstack advisory at https://patchstack.com/database/Wordpress/Plugin/simple-contact-forms/vulnerability/wordpress-simple-contact-forms-plugin-1-6-4-local-file-inclusion-vulnerability should be consulted for official patch confirmation and release notes. If a patched version is not yet available or upgrade is delayed, implement these compensating controls with noted trade-offs: (1) Deactivate and remove the Simple Contact Forms plugin entirely, replacing with an alternative contact form solution (disrupts contact functionality until replacement configured). (2) Implement Web Application Firewall (WAF) rules to block requests containing path traversal sequences (../, .\, %2e%2e%2f) in parameters passed to the plugin, though sophisticated attackers may bypass pattern-based filters using encoding tricks. (3) Restrict PHP open_basedir directive in php.ini or .htaccess to limit file inclusion scope to WordPress installation directory only (may break legitimate plugins with cross-directory dependencies). (4) Enable PHP disable_functions for potentially dangerous functions like include, require, include_once if application logic permits (high risk of breaking WordPress core and other plugins).
Affected ProductsAI
The vulnerability affects Simple Contact Forms, a WordPress plugin developed by owenr88, in all versions up to and including 1.6.4. The version range begins from an unspecified early release (marked 'n/a' in advisories) through version 1.6.4. This is a WordPress ecosystem plugin available through the official WordPress.org repository. The Patchstack advisory (https://patchstack.com/database/Wordpress/Plugin/simple-contact-forms/vulnerability/wordpress-simple-contact-forms-plugin-1-6-4-local-file-inclusion-vulnerability) provides the authoritative affected version information, though no CPE string was provided in NVD data for precise product identification.
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
This vulnerability stems from CWE-98 (Improper Control of Filename for Include/Require Statement in PHP Program), a class of weaknesses where PHP applications dynamically construct file paths for include() or require() statements using unsanitized user input. The Simple Contact Forms WordPress plugin fails to properly validate filenames passed to PHP file inclusion functions, allowing attackers to manipulate path traversal sequences or reference local files. Unlike Remote File Inclusion (RFI) which requires allow_url_include enabled, Local File Inclusion (LFI) works against default PHP configurations, making it a more universally exploitable condition. The plugin processes contact form submissions in PHP, and vulnerable code likely exists in form handling or template rendering logic where user-controlled parameters influence file paths without adequate sanitization or whitelist validation.
Know when PHP gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Primary rating from Vendor (patchstack) · only source for this CVE.
CVSS VectorVendor: patchstack
Lifecycle Timeline
3DescriptionCVE.org
Improper Control of Filename for Include/Require Statement in PHP Program ('PHP Remote File Inclusion') vulnerability in owenr88 Simple Contact Forms simple-contact-forms allows PHP Local File Inclusion.This issue affects Simple Contact Forms: from n/a through <= 1.6.4.
Executive ViewAI
The Simple Contact Forms WordPress plugin (versions ≤1.6.4) contains a local file inclusion vulnerability allowing unauthenticated remote attackers to read arbitrary files from the server, potentially exposing sensitive configuration data, database credentials, or other protected content. Organizations using this plugin risk unauthorized information disclosure that could facilitate secondary attacks, with exploitation probability currently low but severity high if weaponized.
No vendor-released patch identified at time of analysis. Interim mitigations: (1) Restrict access to Simple Contact Forms plugin files via .htaccess or web server configuration (Deny access to /wp-content/plugins/simple-contact-forms/include/); (2) Deploy WAF rules blocking requests with path traversal sequences to plugin endpoints; (3) Implement file integrity monitoring on sensitive files (/wp-config.php, database backups) to detect unauthorized reads; (4) Consider complete plugin removal if functionality can be replaced with alternative actively-maintained contact form solutions.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Local File Inclusion vulnerabilities occur when an application accepts user-controlled input to specify which file should be loaded or executed, typically through functions like PHP's `include()`, `require()`, or `fopen()`.
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it
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
(1) boardData102.php, (2) boardData103.php, (3) boardDataJP.php, (4) boardDataNA.php, and (5) boardDataWW.php in Netgear
The '/common/download_agent_installer.php' script in the Quest KACE System Management Appliance 8.0.318 is accessible by
ProjectSend versions prior to r1720 are affected by an improper authentication vulnerability. Rated critical severity (C
Roundcube Webmail contains a critical PHP object deserialization vulnerability (CVE-2025-49113, CVSS 9.9) that allows au
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
Palo Alto Networks PAN-OS management web interface contains an authentication bypass allowing unauthenticated attackers
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
Nagios XI version xi-5.7.5 is affected by OS command injection. Rated high severity (CVSS 8.8), this vulnerability is re
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
The Backup Migration plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1
NVD
CVE.org
EPSS
GitHub PoC
Exploit-DB